Problem solve Get help with specific problems with your technologies, process and projects.

LotusScript generated doclink won't work in iNotes

I have a problem with doclinks via iNotes. Client and servers are both 5.12. We have several servers, and on all of the server documents the option "Internet protocols - Domino Web engine - Redirect to resolve external links" is set to "By Server." A mail manually sent from a Notes client with a doclink (from a document that is stored in a database on another server than the mailbox) works fine in iNotes. If the doclink is generated from a LotusScript, then it doesn't work. Both doclinks generate different URLs. In the LS version, there is no Name= tag.


  1. Manual:
    <A HREF="/lnm1/redir.nsf?Redirect&To=%2Fb5029ad7964d5016c1256c01004b774e%2F6bf9e2e3940983abc1256e7b004278a3%3FOpen&Name=_88d73qj2ebt0l0k2j64nkul9tad2l4li5a99iujpt8h7kqiae9s_&Id=C1256C2A002786CD">
  2. LotusScript:
    <A HREF="/lnm1/redir.nsf?Redirect&To=%2Fb5029ad7964d5016c1256c01004b774e%2F6bf9e2e3940983abc1256e7b004278a3%3FOpen&Id=C1256C2A002786CD">

Can you help us solve this problem? Thanks.
Use Notes client to have a look at the properties of the doclinks and compare them. I think you'll find that the doclink generated by LotusScript is missing a property value, probably the server name.

This may be because the database whose document you are linking to is local to the server agent that generates the e-mail. After creating the doclink, use the NotesRichTextDoclink class to go back and add the server name or other missing attribute.

Do you have comments on this Ask the Expert question and response? Let us know.

Dig Deeper on Domino Web Access (iNotes)

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • 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 ...