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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.