Ask the Expert

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.

Example:

  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.

This was first published in September 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: