Display Email HTML Body

Certified Lead Developer

We are currently performing extensive email triage on a project and have a need to display the HTML body of the incoming email. The reason plain text is not feasible is that the HTML email body contains information in a tabular format. This information is critical to the user as it contains very specific and relevant information.

Currently, the Document Viewer component does not support the display of HTML documents. The Web Content component is able to display HTML but does not allow this if the source is being served up inline by Appian via a Web API, i.e. "Source may not be an internal Appian source."

We are able to generate a PDF from HTML using the Dynamic Document Generator plugin found on the AppMarket. The translation from HTML to PDF is not perfect however due to "creative" formatting from time to time.

Note, I would love it if we couple display HTML documents using either the Document Viewer or Web Content components. I do understand however that there may be possible security and privacy issues if there were hyperlinks and/or downloadable content or javascript embedded within the HTML...hence the limitation.

Has anyone else had this or a similar requirement and how did you solve it ( other than using the above mentioned methods )?

  Discussion posts and replies are publicly visible