Redirect a url
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 12:18 AM
Hi,
How can i redirect a specific url whenever it is opened?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 12:49 AM
I don't think that would be possible. If it were to be possible, which Table or condition would you expect it to be at ? Only redirections (the way you are describing ) possible that i am aware of is portal redirections.
The screenshot you have is downloading a calendar in the browser. what is the expectation ? As soon as you click on download the new tab that has opened should be closed?
Warm Regards,
Shivambi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 01:38 AM
here after clicking it goes to another tab and downloading that. I want to close/redirect that one after that say 3 or 5 sec automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 01:50 AM
@Rosy14 , In the Widget add the Following Code in Client Control and Test
var hosturl = 'https://' xyz.service-now.com
$window.location.href = hosturl + "/sp?id=sc_home";
}
Regards,
Shyamkumar
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 12:22 AM
@Rosy14 , Can you please Elaborate your Ask
Is it From Notification
or if you want to Redirect to some URL from UI Action , you need to use following code in the Script
var URL = 'www.google.com';
action.setRedirectURL(URL);
Regards,
Shyamkumar
Regards,
Shyamkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 12:28 AM
I want to do it globally. whenevere it goes to url by any way.