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" 
value=""+@AttachmentNames+
"">" + @AttachmentNames; 
"<br>") + "<br>"; 
editDisplay := @If(@
Attachments = 0;" ";tmpattachments); 
readDisplay := @Implode
(@AttachmentNames;"<br>"); 
@If(@IsDocBeingEdited ;
editDisplay;readDisplay)
This was first published in May 2003

Dig deeper on Lotus Notes Domino Formula Language

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

SearchWindowsServer

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

SearchDataCenter

SearchExchange

SearchContentManagement

Close