Hello,
I need to get the Text, entered in a RichText-Field, as HTML Code. So if there’s bold Text for example, I need the tags, because I want to copy the whole content to an other database.
So my problem is, that even if I set the Field to “Convert Content to HTML or MIME” the content still stays normal text. At least when I copy it to the other database. But if I take a look at the Content in die Document Preferences I can see the HTML-Code starting with:
"Content-Type: text/html; charset=“US-ASCII” …
But how do I get this Code?
Thanks a lot!
Subject: Get Text from RichText as HTML Code
Hi Mathias,
you can use a trick to do this.
If you preview your notes document in the browser, the rich text becomes html automatic. You can view the websites source and copy the html code into your application.
Regards,
Sven
Subject: RE: Get Text from RichText as HTML Code
Hi Sven,
Thanks for your reply.
That would be a possbile way, but if I want to do this automaticly? So that I don’t have to copy&paste this and let an Agent do so?
Regards,
Mathias
Subject: Get Text from RichText as HTML Code
You can use NotesMIMEEntity in LS to get the contents of the RTF. Look it up in Domino Designer Help.
/Peter