Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2024 10:18 AM - edited 07-21-2024 10:24 AM
Hi @Priya Reddy I , Hopefully that is a URL type variable.
In case if catalog client scripts, you can try the below:
this.location.href
this.location.origin
https://servicenowguru.com/client-scripts-scripting/parse-url-parameters-client-script/
OR, try the approach provided here and set the field value by onload or onchange client script
https://www.servicenow.com/community/itsm-forum/how-to-get-system-property-at-client-side/m-p/457070
----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.
Mark this as Helpful / Accept the Solution if this helps.