[Ultimate PDF] Error while trying to generate a large PDF
ultimate-pdf
Forge component by Leonardo Fernandes

Hello,


Problems when generating a large PDF, is there a timeout or a maximum size, if so, how can I work around this issue?


Best Regards


mvp_badge
MVP
Solution

Henrique, please update to the version 4.0.5 and let me know if it fixes the timeout issue.

Thanks.

I had the same timeout issue.

I applied the new version and it worked.

My new problem is that I use the component in several applications, and I will have to change it in all others, my application is Traditional WEB and the new one is Reactive. I applied it in an application and it worked.

Thanks

mvp_badge
MVP

Thiago, please follow the procedure explained in: https://www.outsystems.com/forums/discussion/73164/how-to-upgrade-ultimatepdf-to-version-4-0-0-or-higher/

You don't need to change the existing applications if you follow the procedure up to step 5.

Thanks for the help, it was well explained.

Version 4.0.5 solution was applied to other applications.

Hi Henrique,

If the process for generating the PDF is too long, I would probably recommend setting up a dedicated BPT Process for handling PDF generation inside an Automatic Activity (and this process could also be triggered by a user by setting a connection in the UI). This way the timeout is much longer (5 minutes) and would be able to handle bigger files without timing out.

Let me know if that works or if you can share more information about your use case to help you in a better way.

If it takes more than 100 seconds, you could be hitting the timeout inside UltimatePDF because of the Service actions used:

https://www.outsystems.com/forums/discussion/67903/using-screenshottopng-twice-in-combination-with-timer-time-out/#Post298413


mvp_badge
MVP
Solution

Henrique, please update to the version 4.0.5 and let me know if it fixes the timeout issue.

Thanks.

I had the same timeout issue.

I applied the new version and it worked.

My new problem is that I use the component in several applications, and I will have to change it in all others, my application is Traditional WEB and the new one is Reactive. I applied it in an application and it worked.

Thanks

mvp_badge
MVP

Thiago, please follow the procedure explained in: https://www.outsystems.com/forums/discussion/73164/how-to-upgrade-ultimatepdf-to-version-4-0-0-or-higher/

You don't need to change the existing applications if you follow the procedure up to step 5.

Thanks for the help, it was well explained.

Version 4.0.5 solution was applied to other applications.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.