230
Views
3
Comments
Solved
[Ultimate PDF] Is it possible to open PDF in a new tab instead of downloading with this component?
ultimate-pdf
Reactive icon
Forge asset by Leonardo Fernandes
Application Type
Reactive

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

2018-10-29 08-31-03
João Marques
 
MVP
Solution

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

2021-04-12 11-47-04
Bart Nooijens

Thanks @João Marques! That makes it a bit easier to implement :-)

UserImage.jpg
sasikumar vms

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 "


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