Hi,If the user is attaching more than 5 mb into a richtext field in Notes Client while creating new document, then it should not allow to attach. How can I do this?
Thanks
Kishore
Hi,If the user is attaching more than 5 mb into a richtext field in Notes Client while creating new document, then it should not allow to attach. How can I do this?
Thanks
Kishore
Subject: How can I validate if attachments size is more than 5mb?
I used lotuscript to check size, I found that the document size was available if the item was added as an attachment, however it was not there if someone did a “File Import”. To get around this I added script in the Onunload and Querysave events on the form
Subject: How can I validate if attachments size is more than 5mb?
You could use the @AttachmentLengths Function or the FileSize property (if using Lotusscript) to test for the size.
Subject: RE: How can I validate if attachments size is more than 5mb?
from designer helpThis example returns 6102 if that is the approximate size of the single, attached file.
@AttachmentLengths
Subject: How can I validate if attachments size is more than 5mb?
You can create a querySave code… however if you want to display the forbidden msg when the user clicks on OK in the file-attach dialog then you should use a third party utility like zipmail (www.zipmail.com)HTH