Question
2
Replies
377
Views
Cognizant
Posted: March 16, 2018
Last activity: March 19, 2018
Closed
Display Chart in Email Body
I have a requirement to display chart in email body. i've included the section containing the chart(from RD) in the corr rule, but when i trigger a mail i'm getting corr details but chart is not rendering. its coming as a xml code. Anyone accomplished this kind of requirement?
***Updated by moderator: Lochan to add Categories***
Hi @ShashidharS4742,
Thanks for posting on PSC.
As per my understanding, email doesn't have CSS(or even XSD for styling) so raw XML is appearing.
The skin rules ( css ) related to section will not be present in the email. All email client like outlook dont support css files& block external links.
Accordingly to my knowledge, apart from scheduling reports(having charts) is the only OOTB way. Or else, you can create a PDF having report data with charts as well and send it as an attachment to the email.
How to export chart to PDF? Refer RonLee's comment. He has provided a documentation as well.
Hope it helps, Kindly notify if it does by marking this post as answered/helpful for larger Pega audience and tracking purposes.
Regards,
Asif