How To Minimize Network Traffic By Controlling Memo Attachment Size In Notes 4.X

Is there a way to minimize network traffic by controlling the size of
attachments within Notes R4 memos?


This can be accomplished in one of the following two ways:

-Add two hidden fields to the memo-mask and create a formula which controls the
size of the attachments and denies sending.

-Change the Delivery Priority to Low to send the memo at night.

Supporting Information:

The following example denies sending memos with an attachment larger than 10MB
and changes the Delivery Priority to Low for attachments from 5 to 10 MB:

Field "AttachmentSize"
(Number, computed)

Value:
MinSize :=5000000;
MaxSize :=10000000;
DocLen :=@DocLength;
DocSize :=@Text(@Integer(@DocLength/100000)/10; "F,1");
WarnMin :="Size of your memo is" + DocSize + "MB. Memos bigger then 5 MB will
be sent with priority low";
@If(@IsDocBeingMailed & (DocLen > MinSize & DocLen < MaxSize);
@Do(@Prompt([OK]; "Memo is too big"; WarnMin); 1); @Unavailable)


Field "DeliveryPriority"
(Text, editable)

Default:
"N"

Input Translation:
@If(AttachmentSize= 1;"L";DeliveryPriority)

Input Validation:
MaxSize := 10000000;
DocSize := @Text(@Integer(@DocLength / 100000) / 10; "F,1");
WarnMax := "Size of Memo is " + DocSize + " MB. Memos bigger then 10 MB will
not be routed.";
@If(@DocLength > MaxSize; @Failure(WarnMax); @Success)
This was first published in November 2000

Dig deeper on Domino Resources - Part 5

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWinIT

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.UK

Close