[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1056
  • Last Modified:

Include Doclink method in LotusScript?

What is the LotusScript to include a doclink in an email you are sending?  I am absolutely positive I've seen it before or even done it but I can't find it anywhere.  The help files only have the "Newsletter" method FormatMsgWithDoclinks, and all the examples I can find just include ALL documents in a view.  I want to send an email with a link to only the CURRENT document so the user can come find it.

Just like the @MailSend with [IncludeDocLink] flag.  It MUST be possible to do.  I just can't find it!!  

Argh.

Pentapod
0
pentapod
Asked:
pentapod
1 Solution
 
HemanthaKumarCommented:
Hi

Use AppendDocLink method in the RTItem, here is the syntax for that:

Call notesRichTextItem.AppendDocLink( linkTo, comment$ )

linkTo, can be you uidoc.Document. But note the UIdocument should be saved inorder for the user to open or else it will give an error.


Good Luck
~Hemanth
0
 
pentapodAuthor Commented:
Worked a treat, thanks for finding it for me!

....Pentapod
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now