Agent Workspace Redirect URL Using UI Action not working

Satpal Singh1
Kilo Contributor

Hi All,

 

I am unable to open URL using UI Action for Agent workspace. 

I tried below options already, but didn't help.

 

1. action.setRedirectURL('http://www.mysite.com/mypage.htm');

2. window.open('http://www.mysite.com/mypage.htm');

3. g_navigation.open("'http://www.mysite.com/mypage.htm'");

 

Nothing works here, I don't know what I need to else, remember it is Scoped application and it is "ITSM Workspace" application.

 

Regards,

Satpal Singh

1 ACCEPTED SOLUTION

Bad memory, but I have actually in my book how to redirect client-side to external as well 🙂 For those who doesn't have the book, it's just like this: 

var win = top.window.open(‘http://www.coolsite.com’, '_blank');
win.focus();

Who knows what else there might be in the book 😉

//Göran
Feel free to connect:
LinkedIn
Subscribe to my YouTube Channel
or look at my Book: The Witch Doctor’s Guide To ServiceNow 

View solution in original post

12 REPLIES 12

I don't think it's so happy of redirecting outside of the instance. I did a quick test with this one in the CSM scope and it worked.

 

find_real_file.png

//Göran
Feel free to connect:
LinkedIn
Subscribe to my YouTube Channel
or look at my Book: The Witch Doctor’s Guide To ServiceNow 

Bad memory, but I have actually in my book how to redirect client-side to external as well 🙂 For those who doesn't have the book, it's just like this: 

var win = top.window.open(‘http://www.coolsite.com’, '_blank');
win.focus();

Who knows what else there might be in the book 😉

//Göran
Feel free to connect:
LinkedIn
Subscribe to my YouTube Channel
or look at my Book: The Witch Doctor’s Guide To ServiceNow 

Awesome This works for me 🙂

Hi Satpal,

Where did you write this piece of code? It is not working in my case. can you help me out.

 

find_real_file.png

find_real_file.png

Regards
Air

Community Alums
Not applicable

Did you figure this out?