Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Issue with convertion from HTML to PDF

SA-21894

Summary



When user tries to generate a PDF from a section, the pdf does not get generated.
User has activity to generate a PDF. On excuting the activty alone, a pdf gets generated. 
However, when they configure a button to run the same activity, a pdf is not generated. 


Error Messages



Not Applicable.


Steps to Reproduce



1. Create one section.
2. Include one button like print.write an activity to print.
3.Run the activity alone through Case Manager portal.


Root Cause



User has configured the HTMLToPDF activity to be executed on click of a button. HTMLToPDF activity alone does not work on button click. 

Resolution



To execute it, the activity has to run through openurlinwindow action.

On button click, configure openurlinwindow and provide the activity. Make sure the option "Use Page" is checked.

Published April 13, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice