By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
memo's should have that stationary as its template. Used to customise an
individual users mail.
On the Postopen event of a new memo check for the existence of the Signature
stationery, note case. If it exists then close current blank memo and open
Two additions to the mail template are required.
1. A new hidden view called Sigs.
2. Script added to the Postopen event in Memo form.
Sigs View selection:-
SELECT PostedDate = "" & $MessageType = "" & !(ExcludeFromView = "D")
One column called Subject:-
@If(@IsAvailable(IsMailStationery); MailStationeryName; Subject)
Postopen event in memo form:-
Sub Postopen(Source As Notesuidocument)
Set uidoc = source
Dim sigitem As Variant
Dim rtitem As Variant
Dim workspace As New NotesUIWorkspace
Dim session As New NotesSession
Dim db As NotesDatabase
Set db = session.CurrentDatabase
Dim collection As NotesDocumentCollection
Dim V As NotesView
Dim VDoc As NotesDocument
Dim doc As NotesDocument
REM If new doc then continue......................
If uidoc.isnewdoc Then
REM If stationery doc then don't continue...............
Set VDoc = V.GetDocumentByKey("Signature")
If VDoc Is Nothing Then
Set uidoc = workspace.editdocument(True,Vdoc)