Open URL in new window through UI action in agent workspace

Pratik13
Giga Contributor

Hi,

I want to open a URL in new tab through agent workspace UI action.

I tried multiple things such as :

action.setRedirectURL("www.gogle.com");

 g_navigation.openPopup(url)

window.open(url, '_blank');

 

But nothing seems to work.

Any help is appreciated.

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

Hi @Pratik 

please use the following code

top.window.open("http://www.google.de", "_blank")

Kind regards
Maik

If my answer replied your question please mark appropriate response as correct so that the question will appear as resolved for other users who may have a similar question in the future.

View solution in original post

4 REPLIES 4

Maik Skoddow
Tera Patron
Tera Patron

Hi @Pratik 

please use the following code

top.window.open("http://www.google.de", "_blank")

Kind regards
Maik

If my answer replied your question please mark appropriate response as correct so that the question will appear as resolved for other users who may have a similar question in the future.

Hi @Maik Skoddow any idea if theres a way to redirect inside the workspace? 

Also, if you know if I can pass a parameter in the url and grab the value from url?

 

Thanks!

This does not help in service operations workspace, the ui actions does nothing.

I guess the Service Operations Workspace did not exist at the time this question was asked and answered.