Close popover
Rajib Kr. Nag (Rajib011)
Cognizant Technology Solutions

Cognizant Technology Solutions
Rajib011 Member since 2007 11 posts
Cognizant Technology Solutions
Posted: March 13, 2019
Last activity: May 25, 2019

Generate PDF is not working


I am using Pega platform 8.1.

I am trying to launch PDF using "pyViewAsPDF" activity and passing the "HTMLstream" name as input parameter.

but its not displaying any PDF . Can anyone suggest where is the problem and how to solve this?

following steps i took to debug :

1. from the parameter page i see the param.markup value is correctly passing to HTMLToPDF activity and as output param "PDFDocument" is set as " [B@5ff4ace3 " .

2. Is it correct PDF byte or its corrupted one?

3. To further validate my HTML rule , i passed standard pega ootb HTML stream "TraceOptionsDialog" but got similar "PDFContent" as output from HTMLToPDF activity.

4. Hence I am assuming that Code-Pega-PDF.View activity is failing to launch the PDF since in previous step HTMLToPDF is not converting valid PDF byte. is it correct understanding?

Please share some input if anyone encountered similar issue...

Low-Code App Development User Experience
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.