/ Forums / Advansys Formativ / Creating Solutions with Formativ / Current item BodyText – can I access the HTML version? / Reply To: Current item BodyText – can I access the HTML version?

#7852
Support 1
Participant

To grab the HTML format of the message body, you will need to access the Attachments property of the Message object. Search the Attachments property for the item where:

  • ObjType = fgwFile
  • DisplayName = “TEXT.htm” (NOT case-sensitive)

If a matching Attachment item is found, call its Save method to save the HTML to a file. You can use Utilities.LoadStringFromFile to load the HTML into a string variable.

I hope this helps.

Regards,
Advansys Support