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
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 = db.getdocumentbyunid(mainid) 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
Related Q&A from Andre Guirard
Learn how you can use LotusScript and OLE to create and populate Microsoft Excel spreadsheets, as well as a little bit about Lotus Symphony. Continue Reading
Discover options you can use if you'd like external users to be able to access a workflow-based Notes Domino application through different ... Continue Reading
Learn why you may receive the error message: "Illegal circular use: Audit Trail" when trying to open Lotus Notes documents that use copied forms. Continue Reading