- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2024 10:03 PM
HI Team,
I have created a Ui action button i need to redirect to the URL if user clicks on the UI action button. Can anyone help me in the script i have used below script but it is not working sharing screen shot for reference
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2024 10:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2024 10:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2024 10:20 PM
Hi Sunil,
Thank you for your quick response its working but it is opening in same tab is there any way to redirect to the URL in new tab?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2024 10:39 PM
Hi @Shabbir1 ,
To open in new page you can do something as below,
function openUrl() {
var url = 'add your url ';
window.open(url, '_blank');
}
Please mark this comment as Correct Answer/Helpful if it helped you.
Regards,
Swathi Sarang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2024 10:25 PM
Hello @Shabbir1
If you want to open in new tab you can use below methods:
top.window.open("your URL");
OR
g_navigation.openPopup("your URL");
Hope it helps:)
Murthy