« Reversing the order of a list in formula language | Main| Images in Rich Text Items »

AppendRTItem

Tags: development

From the Domino Designer 7 Help document "Examples: AppendRTItem method" (emphasis mine):

Note The changes are not visible until the document (after the script has completed) is closed and reopened. Also note that the AppendRichTextItem method appends only the first 32K of a RichTextItem; the remainder is truncated.

"WTF?" I thought - how else could I easily put one rich text item into another? Fortunately my tests showed that this limitation actually seems not to exist (at least in Notes 6.5.6). Phew.

I have run into another problem, however. I am appending a richt text item containing a formatted footer message to another richt text item (the body of a mail the app is sending). Unfortunately this footer contains images. The footer item is appended to my mail body alright but when I open the mail I see a "Note item not found" message for every image and instead of the images only a gray border ist displayed.

I am still working to try and find a workaround since this should work (as Andre Guirard suggests in the developerworks forums (1) (2)).

I'll update this post when I've found a solution.

Update - Solved

See my next post for the solution.

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)

Search

Calendar

MiscLinks

We Use Ytria Lotus Notes Tools For Faster Notes Development and Better Domino Administration

Tags

Site Info