Joe
Litton has written some LotusScript code to programmatically create
a memo with a doclink on top and the signature of the current user on bottom.
He used a modified InsertSignature function (originally from the CoreEmailClasses
script library).
But there is a much shorter solution
using the formula language, if the doclink should link to the current document
or the document currently selected in the current view:
@Command([EditMakeDocLink]);
@Command([Compose]; @MailDbName; "Memo");
@Command([EditGotoField]; "EnterSendTo");
@Command([EditInsertText]; "Lists
of recipients...");
@Command([EditGotoField]; "Body");
@Command([EditInsertText]; @NewLine
+ @NewLine + "Further text..." + @NewLine);
@Command([EditGotoField]; "Body");
@Command([EditInsertText]; "Click
on this link to open the referred document: ");
@Command([EditPaste]);
Text inserted after the @Command([EditPaste])
is always inserted before the doclink! Thus you have to write the
text, which should appear after the doclink first, than re-enter the body
field, write the text before the doclink and than paste it.
This solution also solves the problem,
that if the user closes the memo without sending it, it does not leave
is unwanted draft document.
Engage 2019: How to get my app on mobile?
At the marvelous Engage conference I had the honor to speak about "How to get my app on mobile?". Between the obvious choices of having a… more