Posted: 6 Jan 2019 0:58 EST Last activity: 10 Jan 2019 2:26 EST
PDF created with incorrect format
Right now, I'm working on a requirement that states the generation of a PDF file with the information hold in a section and attach it to the work object, at this point I was able to do it using the OOTB activity pxCreatePDF but the file shows the controls of the section arranged in a vertical disposition, even thought its layout is inline triple and the file is not visually friendly to the user.
Then, I want to know if there is a way to generate the PDF file, showing the controls and elements of the section, as the user see them on their screen.
Attached, you will find how the pdf looks like to have a clear idea about my problem.
Thanks in advance for your help :)
***Edited by Moderator Marissa to update platform capability tags****
If you don't want to use freeform layout, please do the below things as another approach
1. Inside pxCreatePDF activity "pyAttachAsPDF" will be called. Inside this activity is the actual code to convert your section HMTLTOPDF for this CSS will be passed which to be passed as parameters. But as per your design these values seems to be going as blank. Before you call pxCreatePDF activity, do a property -set which sets parameters "pyPDFFontsDirectory", "pyPDFEmbedFont" and other required parameters as your requirement.
2. Please check for Hot-fix HFIX-25622 installed in your system or not, as this was recommended by Pega support when I faced same type of issue in my application.