Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Getting the URL from Server Script

cspra
Giga Expert

Hello,

Is there a way to capture the URL/URI in Server Script of a widget in the INITIAL load of the page?

*location, *window, getUrlOnStack are either returning null or undefined.

getGlideURI() - is returning not exactly the URI from the URL address. The '=', '&' are converted to different format such as '%3d', '%26'.

Thanks.

 

   

5 REPLIES 5

Please close question as answered

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader