Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

How to open browser from a pdf on a button click

Avatar

Former Community Member
Can anyone help us how we can open a browser from a button click on a pdf. The browser opened must not be a pop up window.



Thanks

Sara
3 Replies

Avatar

Former Community Member
You can use the "gotoURL" method: xfa.host.gotoURL("www.adobe.com",false);



The last parameter controls whether or not the URL is opened within the current document.

Avatar

Level 10
Try this



xfa.host.gotoURL("http://www.adobe.com");



Jasmin

Avatar

Former Community Member
try this :

app.launchURL("http://www.adobe.com",true)