Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

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

Hi Barry,

Thanks for your reply. I have got the answer. The issue was only in removing "/" and adding "https://". It looks like this now:

find_real_file.png

 

 

I am using Madrid upgrade, and Yes you are right, I am using the Menu Header as the base, the page looks very basic and boring:-

find_real_file.png

Barrilito van D
Kilo Guru

Ok good to hear, so my answer WAS correct after all? 🙂  Couldn't imagen that it would not work. Allways good to share the screendumps, so that we can see you realy typed in what we suggested 🙂 Good that it works and is solved!

The window. stuff was not working, after removing that it worked.