Redirect to External website from the Service Portal Logout?

Ashirav
Tera Expert

On My Service Portal, there is a Header having a logout button.

find_real_file.png

find_real_file.png

 

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?

find_real_file.png 

find_real_file.png 

 

 

 

 

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:find_real_file.png

 

If I am supposed to write a BR then how can I configure it with this here?

1 ACCEPTED SOLUTION

Alikutty A
Tera Sage

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! 

View solution in original post

17 REPLIES 17

TI am not sure how to distinguish between the two...I am new to SNOW and was given this task of adding alogout button to portal which wll redirect to the aforementioned website. But I added this button in the Header of the Navigation Menu --> Menu Section,

And after trying to edit the page it looks like this:

find_real_file.png

Yeah, but if you clicked on the att.mysupportaccess.com stuff, you will see the resulting page will have the URL as https://ncrsmadev.service-now.com/att.mysupportaccess.com.

I mean the prefix is the instance name which is added by default when I try this, meaning the redirection was internal and not external, coz if redirection was external I would have landed to att.mysupportaccess.com i.e without prefix of instance name

As a community best practice, can you please open a new post for your next query with all required details/screenshots.

Yeah definitely, That's how I always go. This one here was also a fresh query, I was unable to redirect to external website and wrote a question for it.

Barrilito van D
Kilo Guru

Hi, I see the differences in what you see and what I see.

In the new york release (and in general), you add menu items to a header menu, and if I tried that by adding a url with your url I create a new link in the header and that works (I just tested it). But when I look closer at your screenshot, I see that you have a screenshot of a menu selection and your logout link is in header it self, while normally that is in the part on the right where your login name can be seen. So is this some customization? In what release are you doing this?