Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Field decorator that opens external URL in Configurable Workspace

Walt Janssens
Tera Contributor

Hi,

 

In Service Operations Workspace, I am trying to build an Action Assignment with Action Model = Field that opens a URL in a new tab of the browser.

I already tried client side script with 

                g_navigation.openPopup(url);
                window.open(url);
                window.open(url, '_blank');
And server side script with 
                action.setRedirectURL(url);

But none of them seem to work.
 
Who can help?
2 REPLIES 2

Walt Janssens
Tera Contributor

Found the answer: the following client script works:

 

var win = top.window.open(url, '_blank');
win.focus();

Thank you !!!