I am trying to create a memo via LotusScript, insert some common language with a doc link and extra lines, apply the Signature from CalendarProfile. I have also attempted to use stationary with no luck. Any thoughts would be appreciated. Then I open the doc up in UI so the client can add more text if they wish.
Software/Hardware used:
8.5.2FP1
ASKED:
August 24, 2011 2:34 PM
UPDATED:
March 31, 2012 5:46 PM
This is a better way, if you just want the “usual” signature to appear on the Memo:
From your script in the mail-database do the following:
Dim uiws as New NotesUIWorkspace
Dim uidoc as NotesUIDocument
Dim doc as NotesDocument
set uidoc = uiws.ComposeDocument(“”,”Memo”)
- then if you want you can modify the document after creation. This will include the signature.
The following will also create the memo, but without the signature:
set doc = new NotesDocument(db)
set uidoc = uiws.EditDocument(True,doc)
- but then you do not get the signature.
Of course both require a GUI. If you are running from an agent, or script that does have access to this luxury, I do not think you can get the signature.
Best regards,
Jesper