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
Hi Jérémy Geneste,
There is a custom component listed in the app market which you can use for this purpose. community.appian.com/.../rich-text-editor-vuram
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.
I found the solution. It's very simple(Just striphtml function). No need of regular expression or plugin hopefully...
Can you help me to understand what the striphtml function would help here where the TO already wrote that this does not work for him?