Actually when we using native formula and lotusscript code to appendDocument or includeDocLink than its works perfectly fine as clustering done at server level. Bu my issue is that in SSJS MIME based email where we provide / hard code all connection details for creation of hyperlink will not work even if clustering is done on server level because everything is hard coded at script.
If I use appendDocLink in SSJS its works fine in Rich Client except not enable Edit Mode even if mentioned in link details and 2nd its open data source on web (form data) instead of opening xpage while already enabled show xpage instead.
If possible please provide me a sample script /db in SSJS for composing email and attaching document link that would be great help.
Thanks,
Qaiser