Getting URL Parameters in Scoped Application

harshvardhan_11
Giga Expert

I am trying to get URL parameter through catalog client script in Scoped Application. But since Scoped application don't have access to the window object, I am not able to autofill the variables

 

I found an article

https://community.servicenow.com/community?id=community_article&sys_id=df735b72db21d7444fc2f4621f961...

which suggest to use GlideURL class, but I am recieving an error in console 

ReferenceError: GlideURL is not defined

 

Can anyone please help me with how to get URL parameters in Scoped Application.

 

Thanks in Advance

5 REPLIES 5

Hi Ankur,

Yes, in a scoped onload catalog client script, in Service Portal.