Ok so I am currently using Lotusscript in my queryclose of a document. It send out an email with a doclink so that people can open the document but now I would like them to use the web instead which means I need to change from using the doclink to getting the url of them document. Any suggestions. Here is the code I am using
Call rtBody.AppendDocLink (Source.Document, Source.FieldGetText(“Requirement”))
Subject: adding URL instead of Doclink to an Email
First, you might want to think about doing it in the Postsave, just in case there is a UNID problem.
The have your agent build the URL as a string and use
dim strURL as string
strURL='build it
Call rtBody.AppendText (strURL)
Subject: RE: adding URL instead of Doclink to an Email
thank you for the reply, I was wondering one thing, what is ‘build it’ suppossed to do, I looked it up but there doesn’t seem to be any reference for it.
Subject: RE: adding URL instead of Doclink to an Email
ok so build it is just the value of the string, but how do I call up the URL of the document for thestring, that seems to be my main problem
Subject: RE: adding URL instead of Doclink to an Email
Ideally without hardcoding in any of the values, you’d use something like:
“http://yourwebname/dbname” + “/0/” + documentsUniversalID +“?OpenDocument&login”)
Subject: RE: adding URL instead of Doclink to an Email
Thank you very much Rellim that did it, thanks again