Last activity: 4 Feb 2019 6:40 EST
Show a Section in PDF Format by a Button
I need to call a Section in PDF format or make the section can be downloaded
in PDF format when I click on a particular button.
How can I do this for both cases?
***Edited by Moderator: Pallavi to update platform capability tags***
Can you try with the Out-Of-The-Box activity called @baseclass.HTMLtoPDF maybe.
I tried the PrintWork, calling the section by the Harness.
It worked, but I still need a icon option to download the section in a PDF format.
How can I do this?
I have attached a method of doing it. It seems to be working at my end.
Please try to implement it at your end and let me know in case of any queries.
Search in the search bar "userworkform" and then click on same.
Please refer to attachments.
I need to save as, or can I erase the current Code on de userworkform?
You can keep the existing code as it is and copy the current script in the bottom of userworkform. Regarding the Save as thing, you can do a private edit for now, paste the code and check the function. Later you can do a save as of userworkform into your own application ruleset.
Were you able to download the PDF?
You can also use Code-Pega-PDF.View activity as explained over here.