Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: HTML Rendering  (Read 9071 times)
Gary C.
Posts: 109


« 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
Reuben B.
Four Js
Posts: 1119


« Reply #1 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

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Mike P.
Posts: 1


« Reply #2 on: October 20, 2021, 11:05:49 am »

Thanks for this solution! I also have the same case.
Gary C.
Posts: 109


« Reply #3 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


* mail.png (114.82 KB, 1678x1040 - viewed 2366 times.)
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines