Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to hide the lock icon in list field type

harshaa0567
Tera Contributor

I have region field which is multi select. When region selected is us then a "US" mulitiselect field is made visible using ui policy. When the "us" field is unlocked and the us value is removed from region field and re -selected , the 'US" field is open with unlock icon. I dont want to see that lock icon. How can I achieve that.

harshaa0567_0-1729249062134.png

 

2 REPLIES 2

Robbie
Kilo Patron
Kilo Patron

Hi @harshaa0567,

 

Take a look at this snguru link provides great advice and insight as well as a solution. Please be sure to read the pointers about how certain changes can affect all glide_list fields across the platform if leveraging system properties.

 

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

 

To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.



Thanks, Robbie

Thanks for the reply.

I tried the script , it gives me error

harshaa0567_0-1729252623970.png