The issue is in Reporting. I am working on Pega 6.2.
When we generate a report using Report Definition rule, having a huge amount of data(Say 3000 records) and try to export it to PDF, it takes a very long time.
Requirement is to reduce the time taken to export to PDF. Exporting to Excel is quick but to PDF it takes a very long time, more than 10mins for 3000 records.
Is there a way to reduce the time to generate the time take to export to PDF?
Unfortunately, there doesn't seem to be a lot that can be done to speed this up. In the examples I've seen, a vast majority of the time is spent in step 3 of activity @baseclass.HTMLToPDF. There are only 2 things happening in this step:
1) Getting the byte array representing the PDF document from the pd4ml API, which is the 3rd party library we use to convert HTML to PDF.
2) Copying the returned byte array onto a page for processing.
The performance of the pd4ml library is not under our control.