Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
7 subscribers
Views
1868 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
We are starting a process receiving an email. The email address is public, I mea
JEAN PIERRE
over 10 years ago
We are starting a process receiving an email. The email address is public, I mean that anyone can start the process sending an email.
After capturing the email data we have a sail form that displays the email content (From, To, Subject, Body, Attachments etc.).
But the body is in HTML and the paragraph control does not render HTML.
How can we resolve this?...
OriginalPostID-120649
OriginalPostID-120649
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 10 years ago
You won't be able to display the body as-is in HTML but at least you should be able to get a readable version of it without HTML tags, if not, try wrapping it in the striphtml() function.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
JEAN PIERRE
over 10 years ago
Thank you for the feedback.
We also are using the "HTML Doc From Template Smart Service" to try to show better an HTML Email.
(
forum.appian.com/.../HTML_Doc_From_Template_Smart_Service.html)
The complication arrives when the Email's BodyContentType is "multipart/alternative" with multiple Bodies each of a different Types (text/HTML or text/plain).
We need to figure out how pass the EmailBodies variable to a JavaScript variable and render each EmailBody differently.
Any suggestions?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
The limitation here is that SAIL doesn't support JavaScript, so maybe you'll have to write your own custom smart service to process the body and then re-store it in a PV to be used in SAIL. So the parsing is done in the process not in the form.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel