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

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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader