problem:
The attachment links comes with the Domino system under B / S are placed on the bottom of the page, which gives the entire page. The layout of the entire page.
Solution:
Under B / S, the general attachment method is the method of adding the domain $ V2tachmentOptions on the form, set its value of 0, so that the system default attachment link is hidden, and then write links yourself below.
First, the link under the situation
ThisDB: = @ replacesubstring (@ReplaceSubstring (@SUBSET (@dbname; -1); "" "" ");"
// ";" / ");
@IF (@attachments! = 0; "[
@ Text (@Documentunique) "/ $ file /" @ attachmentnames "/" target = / "_ blank /"> " @ Attachmentnames "
Second, the link containing the selection box for the user to delete the link
ThisDB: = @ replacesubstring (@ReplaceSubstring (@SUBSET (@dbname; -1); "" "" ");"
// ";" / ");
@IF (@Attachments! = 0; "[
@ Attachmentnames "/">
@ Text (@Documentunique) "/ $ file /" @ attachmentnames "/" target = / "_ blank /"> " @ Attachmentnames "
However, when the attachment name contains special symbols, the link written is truncated at the special symbol, resulting in an accessory to open. To solve this problem, you need to convert these special symbols when you write, the specific method is as follows:
ThisDB: = @ replacesubstring (@ReplaceSubstring (@SUBSET (@dbname; -1); "" "" ");"
// ";" / ");
AA: = @ Urlencode ("Domino"; @ attachmentnames);
@IF (@attachments! = 0; "[
@ Text (@Documentunique) "/ $ file /" aa "/" target = / "_ blank /"> " @ attachmentnames "