Lock icon still visible even after hiding it in dictionary

Aishwarya Selv1
Tera Contributor

I want approval groups field to be unlocked by default while opening/ creating a change request. I have added an attribute start_locked=false in the dictionary entry of approval group.

find_real_file.png

It's working, but the lock icon is not disappearing. I do not want the lock icon as highlighted in image below.

find_real_file.png

How to hide the lock button as well?

5 REPLIES 5

Community Alums
Not applicable

Hi @Aishwarya Selvam ,

Unfortunately, there's no attribute or something to remove the lock icon itself. Though you could use CSS to remove it.

This is a great article on the subject and how you can manipulate individual fields:

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

Mark my answer correct & Helpful, if Applicable.

Thanks,
Sandeep

Community Alums
Not applicable

Hi @Aishwarya Selvam ,

Any update to this ?Any follow-up required? if not

Kindly mark the answer as Correct & Helpful both such that others can get help.

Thanks,
Sandeep

Hi @Sandeep Dutta 

What would be the reason for this extra lock icon appearance, I mean I have applied the same dictionary changes in other fields like Watch list/ work notes but this extra lock icon doesn't appear there, so why does it appear for a particular field alone?

find_real_file.png

Thanks,

Aishwarya.

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

did you try to clear instance cache using cache.do and then logout and login again?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader