Hi community,
I'm currently using the Ultimate PDF component in my OutSystems application to generate and download PDFs, and I've been able to successfully open the generated PDFs in a new tab using JavaScript.
Do you know if the Ultimate PDF component provides any built-in functionality for opening generated PDFs in a new tab? If so, could you point me in the right direction for finding more information on how to implement it?
Thank you for your assistance.
Best,
Bart
Hi Bart,
I manage to open PDFs in the past in a simple manner.
For that, I make sure my PDF screen OnInitialize function has the OpenInBrowser set to True.
And then I use JavaScript to open a link in a new tab:
Kind Regards,João
Thanks @João Marques! That makes it a bit easier to implement :-)
Hi João Marques.
I flowed you suggestion but not working my side. The issue is "ScreenToPDF_OnInitialize action must be invoked during the OnInitialize event of the screen "