I am working on a data migration task where I need to export a somewhat large Lotus Notes application to a blogging platform. My first task was to export articles from Lotus Notes to CSV files.
I created an agent in LotusScript to export data to CSV files. I am using a modified version of this IBM DeveloperWorks post . And that basically does the job. But the content of the Rich Text field is devoid of any formatting. And this is not what I want, I want the Rich Text field to display as HTML.
The documentation for the GetItemValue method explicitly indicates that the text is displayed as plain text. So I started researching something to get HTML. I found the NotesMIMEEntity class and some sample code in an IBM article How to Access HTML in a Text Box Using LotusScript .
But for the method described in this article, to work in the Rich Text field, there must be the property "Store content as HTML and MIME". And this does not apply to my Lotus Notes database. I tried setting the property to the appropriate fields, but that did not help.
Can I use NotesMIMEEntity and set the property "Save content as HTML and MIME" after adding content to export the field displayed as HTML?
Or what are my options for exporting Notes Rich Text fields in HTML format?
Bonus information: I am using IBM Lotus Domino Designer version 8.5
source share