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.

Unlock URL variable in portal

Meghana Jannava
Tera Contributor

Hi Team,
Is it possible to unlock a specific URL variable by default in service portal?

4 REPLIES 4

Vasantharajan N
Tera Sage
Tera Sage

Please refer to link where they used onLoad Client script to achieve what you want

https://servicenowguru.com/scripting/client-scripts-scripting/lock-unlock-glidelist-url-fields-client-scripts/


Thanks & Regards,
Vasanth

Hi Vasantharajan,
I have already tried this. It doesn't seem to be working for current scenario.

Bhaba
Tera Expert

Hi Meghana,

Navigate to System Properties > UI Properties

find_real_file.png

You can also achieve this by client script. 

$('table_name.u_url_unlock').click();


Hope this helps you

Thanks.

Hi Bhaba,
Thanks for your response.

I cannot update the system property as this should only apply to one variable.

Also can u please elaborate on how i can go ahead for variables using client script?
The URL variable is already unlocked in Native UI view of the catalog item. I am trying to unlock it portal view also.