readonly fields

dev_K
Tera Contributor

Hi,

 

 

I ma trying to make 'model' field editable however it does not work. How can I check where is the issue?

 

dev_K_0-1716291197802.png

 

 

I created this onLoad client script:

 

dev_K_1-1716291250752.png

 

 

but it does not work.

 

 

thanks!

6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @dev_K 

 

Is any other UI policy or script configured on this field?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

I checked all UI policies and client scripts for this table and did not find anything that makes this field readonly.

Any BR which blocking it or ACL?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @dev_K,

 

Did you see my earlier response and the first response to this thread?

The Asset 'Display Name' by design and Out Of Box is read-only.  It's actually a concatenation of the 'Asset Tag' field and 'Model' fields and is generally only set on creation due to the nature of Asset (and CI) management.

 

Why do you want to make this read-only? Is it for a one-off change or update? 

Tip - If you want to Asset 'Display Name' you can either update the Asset Tag field or update the related Model record and update the Model 'Name' there. No configuration or code changes are needed to update the Display Name ; )

 

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