Question
Commonwealth Bank of Australia
AU
Last activity: 21 Feb 2018 21:30 EST
Export to PDF / Word
Hi,
Can anyone please provide a solution to export Harness data to PDF and word document?
Thanks
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Commonwealth Bank of Australia
AU
Hi All,
This issue has been resolved with the solution mentioned in below post. Thank you for the suggestions.
https://collaborate.pega.com/question/generating-and-viewing-pdf
Pegasystems Inc.
US
Hi,
For exporting Harness data to PDF, you may use the HTMLToPDF activity.
Please give a try.
Thanks,
Susan
Commonwealth Bank of Australia
AU
Hi Susan,
This was already tried. I added this activity in the action of Button passing the Harness name as parameter both in Stream Name and Mark up. It didn't work. Could you please provide more suggestions.
EPAM Systems, Inc.
ES
Commonwealth Bank of Australia
AU
Thanks Asif. It is again the HTMLToPDF activity which accepts HTMLStream as input. It doesn't work if I pass the section name or harness name as value for HTMLStream parameter. Could you please suggest how to convert section/harness to the format accepted by HTMLToPDF activity.
Commonwealth Bank of Australia
AU
Hi All,
I just tried using the activity 'pxCreatePDF' by replacing the 'pyAttachPDF' in it with 'pyViewPDF'. Name of the section and PDF file name are being passed as parameters. This time I am not getting any errors and I can see value as below in Parameter page each time I execute it. I am not sure what does that value refer to but PDF file is not getting generated still.
PDFDocument [B@814c69f
PDFDocument [B@2840452
PDFDocument [B@3388c9ca
Can anyone please help to troubleshoot.
Accepted Solution
Commonwealth Bank of Australia
AU
Hi All,
This issue has been resolved with the solution mentioned in below post. Thank you for the suggestions.
https://collaborate.pega.com/question/generating-and-viewing-pdf