We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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 !!!