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

Barrilito van D
Kilo Guru

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!

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:

find_real_file.png

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! 

Thanks for reply!

But even without the window.location stuff it redirects internally to servicenow, using the instance URL as prefix:

find_real_file.png