- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2019 05:55 AM
On My Service Portal, there is a Header having a logout button.
The task is that when the logout button is clicked I should be redirected to att.mysupportaccess.com.
What should I enter in the "Redirect to The specified URL" box?
Doing what I did above lands me to internal page and not an external page, i.e. it always uses the instance name "ncrsmadev.service-now.com" as prefix, meaning it is not redirecting externally, just internally:
If I am supposed to write a BR then how can I configure it with this here?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2019 06:23 AM
Hi,
window.location.href is a javascript code used to redirect to a different Url. You seem to have added a script in place of your URL.
You will need to replace it with the complete URL with http or https in it.
https://att.mysupportaccess.com
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2019 06:13 AM
Hi Ashirav,
As the menu option says, you should add a "url".
With all respect, it seems you have looked at some script and just copied this part:
window.location.href = "att.mysupportaccess.com"
Please try to keep thinking what you should do instead of just copying something.
Just fill in the url here, in your case:
https://att.mysupportaccess.com
That should work.
Good luck!
If you think my answer put you in the right direction or you appreciated my effort, please mark the response as Helpful (👍). That way other people in the community will probably be triggered to read the responses too. If my answer solved your issue, please mark my response as Correct (✅). In the list of question people like me that want to help out will know your question was already answered and others that are curious to the answer know a good answer is given in the thread.
Thanks in advance! Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2019 06:22 AM
Thanks for response Barri!
Eeven if I add https and all that, the thing is that I am redirected internal website having the prefix "ncrxyz.service-now.com/", whereas the website I want to be redirected to is an external website which will not have the above prefix. So my method is wrong. I wanted to know the correct method. Please find the internal redirection below:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2019 06:23 AM
Hi,
window.location.href is a javascript code used to redirect to a different Url. You seem to have added a script in place of your URL.
You will need to replace it with the complete URL with http or https in it.
https://att.mysupportaccess.com
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2019 06:26 AM