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

Create doc from Notes client or iNotes so users of both can open links

We have a 50-50 split with Notes Clients & iNotes users. I created a doc using the full client, and it has an @Mailsend with a doclink. The receiver can click on the doclink and open the document without a problem.

Since @Mailsend doesn't work with doclinks for iNotes users, I coded a piece of script which built a URL for the iNotes users. This works OK, but when an iNotes user submits the document to a full client user, the receiver is not set up for iNotes, so having a URL instead of a doclink is useless.

I need to be able to create a document from either client or iNotes and both types of client can open the link. Surely there must be a common kind of doclink that both clients can create and open?

I use a URL such as this

sURL = "http://" & servername & "/" & filepath & "/ViewName/" & mainid & "?opendocument"

and attach the URL with

Call body.AppendText(sURL)

It sounds like you have figured out how to run some LotusScript for the web user -- presumably by using a URL with OpenAgent command and some arguments on the URL. Instead of the lines of code you have here, use

Set docToLinkTo =
Call body.AppendDocLink(docToLinkTo, ...) 

This should work for both Notes and iNotes users, since Domino will convert the doclink to a URL for Web users.

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

Dig Deeper on Lotus Notes Domino Application Development

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