- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2023 11:21 PM
Requirement is:
When I click on the Ui action button on a form,
a URL should open in a new tab of that particular browser.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2023 12:21 AM
Hi @XYD23 ,
i have tried working fine in my pdi.
function exportPDF() {
var instanceName='https://www.w3schools.com/';
g_navigation.openPopup(instanceName);
}
Please mark it as solution proposed and helpful if it serves your purpose.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2023 11:30 PM - edited ‎12-03-2023 11:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-03-2023 11:57 PM
HI @XYD23 ,
I trust you are doing great.
In the "Script" section of the UI Action, you will write JavaScript to open the desired URL in a new tab. Here's a sample script:
function openURL() {
var url = "https://www.example.com"; // Replace with your desired URL
window.open(url, '_blank');
}
if (typeof window == 'undefined') {
openURL();
}
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2023 12:06 AM
I tried this, but not working,
if possible can you send me screenshots.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-04-2023 12:23 AM
Hi @XYD23
Please make sure the Client checkbox is checked.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.