- 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-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-04-2023 12:23 AM
Hi @XYD23 ,
You can something like below :
function hitURL(){
top.location.href='https://www.google.co.in';
}
Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2023 12:26 AM
If UI action is "Server Side", use
action.setRedirectURL("YOUR_URL_HERE");
g_navigation.openPopup("https://google.com/");
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.