Title: HTML Rendering Post by: Gary C. on October 13, 2021, 11:27:45 am We have developed a Customer Case management system. The business now wish for us to add the ability to send email messages and capture any replies directly from this system. The system should display the emails in conversation thread fashion.
We use GDC and I'm interested to know if anyone else has tackled anything similar and if so, what approach did you use for displaying the HTML of the email bodies? Many thanks Title: Re: HTML Rendering Post by: Reuben B. on October 15, 2021, 12:10:47 am Gary,
LABEL, TEXTEDIT with textFormat="html" are intended to display a subset of html, see the important notes here http://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/r_fgl_presentation_styles_label_style_attributes.html so I suspect WEBCOMPONENT is going to be what you need to display any HTML of the email bodies. I'm guessing you'd have HBOX SCROLLGRID or TABLE { email fields, date, from, to etc } END GRID { web component field to display body of currently selected row on left hand side via BEFORE ROW } END END END Reuben Title: Re: HTML Rendering Post by: Mike P. on October 20, 2021, 11:05:49 am Thanks for this solution! I also have the same case.
Title: Re: HTML Rendering Post by: Gary C. on October 24, 2021, 12:11:17 am Hi Reuben
Thanks, that is the approach we have taken. Indeed, our proof of concept has ended up being a mini "Outlook" client with the ability to send, reply and forward emails with attachments whilst preserving inline content. Mike P, I am happy to share our approach if that would help. Thanks Gary |