Hi,
I'm using ODC Studio to create a PDF conversion logic with either "PrintToPDF" or "PrintToPDF_Advanced." The output is a list, and it is generally being output correctly.
However, when the number of records to be output exceeds approximately 400, or the page count exceeds approximately twenty, the downloaded file becomes 0KB and results in a corrupted output that cannot be opened.
Is there a limitation on the output of this feature? Also, is there a solution to this issue? Any guidance you can provide would be greatly appreciated.
Regards,
Jonathan
Hi Jonathan,
In the overview of this component, there is a "Limitations" section that mentions, "The input and output payload of the external logic cannot be greater than 5.5MB." And it also mentions a workaround.
Split large data into smaller chunks (e.g., max 300–400 records) before PDF generation. Simplify the printable content, and avoid heavy styling or scripts. For better handling, consider generating the PDF server-side or asynchronously if supported.
Hi @JonathanJonathanJonathan , any solution from your side. I got the same issue.