UI - Action not working in workspace

Sravani36
Tera Expert

Hi All,

I have created a UI action on the Alert form, where it is working as expected. When I click it, it redirects to the page I need. However, when I open the same alert in the workspace, the button does not redirect to the URL and no action is been done. 

this is working: 

Sravani36_0-1711464304516.png

 

below is not working which was configured for the workspace: the message key is the field name where it has the link to redirect 

 
 
function onClick(g_form) {
    var redirectURL = g_form.getValue('message_key');
     var win = window.open(redirectURL, '_blank');
     win.focus();
   
 
 
 

Thanks & Regards

Sravani C

 

1 REPLY 1

Manoj89
Giga Sage

Hi,

 

It seems to be due to that your UI action is server and you are trying to execute the client script just for the workspace action.