Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You will need to actually use native Lotus Notes methods for a richtext field and create the richtext content from the "RichtextItem" object you have created. The sMessage field will need to be plain text, and if you will then need to specify the formatting via the NotesRichTextStyle object. </p> <p>API details for R7 found <a href="http://www-12.lotus.com/ldd/doc/domino_notes/7.0/help7_designer.nsf/b3266a3c17f9bb7085256b870069c0a9/0e1a24de5059f2f88525704a0040f2fb?OpenDocument" rel="nofollow">here</a> and <a href="http://www-12.lotus.com/ldd/doc/domino_notes/7.0/help7_designer.nsf/f4b82fbb75e942a6852566ac0037f284/6b7a4b0b913cfea88525704a00410888?OpenDocument" rel="nofollow">here</a>. When writing "styled" richtext you need to do it inline, that is, you start appending text, then before you want to make it bold, get a notesRichTextStyle object set the properties on it, then apply it to the richtext object, then write the text. When you need to change styles again, you repeat this process. This <a href="http://www-12.lotus.com/ldd/doc/domino_notes/7.0/help7_designer.nsf/f4b82fbb75e942a6852566ac0037f284/5a76fbd41d2799548525704a0040fc79?OpenDocument" rel="nofollow">example</a> demonstrates the usage. MIDAS richtext is a tried and true product that takes the hassle out of the process for creating richtext, but you will need to purchase a <a href="http://www.geniisoft.com/showcase.nsf/MidasLSXPricing" rel="nofollow">license</a>.</p> <p>For the attachment, you can use the "embedObject" method of the RichTextItem to attach a file into the body of the email, as you have already shown in your code sample, but I think you can re-use the richtextitem object for the "body" field, don't use the "attachment" field. You should be able to send the email over the internet and users see the attachment's location in the email and detach it.</p> <p><a href="http://www-12.lotus.com/ldd/doc/domino_notes/7.0/help7_designer.nsf/f4b82fbb75e942a6852566ac0037f284/ae21d6dee00780878525704a0040f50d?OpenDocument" rel="nofollow">Here</a> is the help documentation for embedding objects with examples in case you're weren't already aware of it's functionality. (All the links provided are for R7.)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload