Question

HTMLToPDF Activity Extremely Slow For Generating a PDF File

Hi All,

I have a requirement of generating the contents of pagelist(having approx 1000 records) into a PDF format and attach it to the current WO.

To achive this, I have created a section and passing this section to a OOTB activity "pxCreatePDF".

I am able generate the PDF and attach to WO . But the PDF generation is extremely slow.

For this i went through the below link and followed the solution suggested. but it didn't help much.

https://community.pega.com/support/support-articles/pdf-generation-noticeably-slower-714

Please suggest me anyother solution for speeding up the generation of PDF file or provide suggest any steps to generate a PDF through HTML code (Provide sample code if any).

Regards,
Bharath

Comments

Keep up to date on this post and subscribe to comments

February 19, 2019 - 7:13am

Hi Bharath,

In Report definition's data access, can you please check on ignore format in export to pdf to see if that helps?

Also, there are few options to increase no of records / time etc to fine tune.

February 19, 2019 - 7:22am
Response to ARVINDMALAV

Hi Arvindmalav,

Thanks for quick response!

I am not using the any datapage or report definition's . So my pagelist created as part of SAP reponse data transform.

Regards,
Bharath
 

February 19, 2019 - 9:38am

I suggest you to raise SR so that logs can be reviewed and suggestions can be provided accordingly.

February 19, 2019 - 2:10pm

Hi @BharathK3612!

Please let us know the SR ID for the Support Request when you open it so that we may track for you.

Thanks!

Marissa | Community Moderator | Pegasystems Inc.