Hello,
I have an ER that build a mail body with data needed.
I wrap the data with HTML table tags to make it look nice (well indented) in mailboxes.
I also want to display that data on an Appian interface for my users to preview what will be sent on the email.
I tried to use stripHtml() but this is not working fine because it removes HTML table tags and so the content is not indented and looks like a mess.
Is their any alternative solution to solve this issue and display my email body nicely in Appian interface ?
Thanks,
Jeremy.
Discussion posts and replies are publicly visible
The most seamless way I've seen to do this, assuming you wouldn't rather just build an Appian interface that exposes the original data formatted how you like using Appian components -- is to convert the HTML to a temporary PDF file in the background using this plugin, then display that on-form using the document preview field.