Adding Signature to memo via LotusScript

100 pts.
Tags:
Lotus Notes 8.5.2
Lotus Script
LotusScript
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

Answer Wiki

Thanks. We'll let you know when a new response is added.

Use the CreateDocument method on DataBase object
Set the Form field to “Memo”
Create a Subject field in text and set to whatever you want
Create a SendTo fielf in text and set to whoever you want
Create a Body field in rich text
Append your text and doclink to the Body field
Call the EditDocument method on NotesUIWorkSpace object so user can edit the mail.
Is it enough ?

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Jesperlorentsen
    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
    10 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following