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.

Get the current browser url in UI Builder

Hari1
Mega Sage

Hi,

Is there a way how we can get the current browser full url in UI Builder.

I have tried using gs.getProperty('glide.servlet.uri'); I am only getting the https://<instance-name>.service-now.com/ But i need the full url.

Thanks.

1 REPLY 1

Paul Curwen
Giga Sage

Use this is a Client Script:  api.context.props.<urlparmname>

 

 

***If Correct/Helpful please take time mark as Correct/Helpful. It is much appreciated.***

Regards

Paul