Manage Learn to apply best practices and optimize your operations.

Managing attachments on Web browser

This tip describes a procedure for managing attachments in a Web browser.

How often we have face the problem of managing attachment files on web browser. By default DOMINO shows the attachments at the bottom of the web page. But nobody likes this interface, so we generally like to hide them by creating a computed for display filed called $V2AttachmentOptions and putting its value as 0.

There is a very simple way to show the attachment names along with a checkbox and allowing users to select single or multiple attachment names for deletion.

The following code can be used in a computed text field, to display attachments on a browser along with check boxes. Just selecting the checkbox and submitting the document will delete the attachment(s).

tmpattachments := 
@Implode("<input type=
checkbox name="%%Detach" 
"">" + @AttachmentNames; 
"<br>") + "<br>"; 
editDisplay := @If(@
Attachments = 0;" ";tmpattachments); 
readDisplay := @Implode
@If(@IsDocBeingEdited ;

Dig Deeper on Lotus Notes Domino Formula Language



  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/ community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury