Redirect portal page based on table and sys_id on URL

F_bio Santos
Kilo Sage

Im trying to redirect the portal page when I click a button (widget), but I need to get the table and the sys_id of the url to go to the page that I want.

Im trying to use this on the Server Script:
 (outside of the button action):

 

 

var url = '/InstanceUrl=form&' + data.table + '&sys_id=' + data.sys_id + '&view=sp';

 

 

Inside the button action after the gr.update();

setRedirectURL(url);

 



but it is not working, does anybody have a clue how to do this?

0 REPLIES 0