gs.action.getGlideURI() or gs.action.getGlideURI().toString() both are returning null

Pvn1
Tera Contributor

Hi All,

 

I am trying to get user URL from Script Action on 'login' event, using below code but it is returning as null. The same code works in background script though. Any pointers on what is missing?

 

var url = gs.action.getGlideURI();

gs.log('URL:'+url);

 

 

5 REPLIES 5

I don't see any sensible way to do this.

 


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.