on 09-17-2015 10:05 AM
I need to launch a URL in a browser using toolbar script.
Hello Pawan,
Unfortunately that is not technically possible. Because the scripts (including toolbar) are executed server-side, not client-side.
The only option to launch a URL from Sourcing app is to have user manually click on a generated link on the document.
Regards,
Bogdan Toma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Again, that will not work.
Given the fact that scripts run server-side, regardless of where the code is (in script or custom jar), actions will still be executed server-side.
The opening of a url link requires either:
- user action (click on link)
- callback class build-into the application (this cannot be changed/enhanced because it's part of the core app)
Even if you try using java.awt.Desktop to open a new browser window, you will see that it will be opened on the app server not the user's computer.
Can you share more details on the business requirement? There should be a good alternative for this.
Bogdan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.