This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Aug 25, 2014, 12:14 PM
15 Posts
topic has been resolvedResolved

Update rich text signature

  • Category: Mail
  • Platform: All Platforms
  • Release: 9.0.1
  • Role: Developer
  • Tags: Signature,rich text signature
  • Replies: 1

Hi,

As per requirement received from our senior management , we are required to display a line of text in Lotus Notes signature in BOLD Italics. To achieve the same we have created an agent, that enables rich text option and updates normal text along with the BOLD ITALICS text in the rich text field of signature tab (More > Prefernce > Signature) on all mailboxes. This is working fine for Notes client . In our organization we are having mailboxes on template 9.


But on web mail the text is still coming in plain text.

The lotus script code that we are using is mentioned below

 

==================================================================

set maildb = New NotesDatabase(nabdoc.MailServer(0),nabdoc.MailFile(0))

Set mailownerdoc = maildb.GetProfileDocument("CalendarProfile")

Call mailownerdoc.ReplaceItemValue("SignatureOption","3")

Call mailownerdoc.ReplaceItemValue("$SigOptionTable","r")

Set rtitem=New NotesRichTextItem(mailownerdoc,"Signature_rich")

Call rtitem.Appendtext("TEXT TO BE DISPLAYED IN PLAIN TEXT")

Set rtsty = session.CreateRichTextStyle

rtsty.Bold=True

rtsty.Italic=True

Call rtitem.AppendStyle(rtsty)

Call rtitem.Appendtext(Chr(10)+"TEXT TO BE DISPLAYED IN BOLD ITALICS")

Call mailownerdoc.ComputeWithForm(False, False)

Call mailownerdoc.Save(True, False)

============================================================================================== 

Can you I please know how we can enable rich text option from lotus script on a web mail.


Thanks

Aug 25, 2014, 4:51 PM
29 Posts
Things to check
I would set the italic text using the web mail for a user, then use Notespeek to see what fields get set. Once you know what fields need to be set, modify your LotusScript code to set those fields as well.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal