readonly fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 04:35 AM
Hi,
I ma trying to make 'model' field editable however it does not work. How can I check where is the issue?
I created this onLoad client script:
but it does not work.
thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 04:39 AM
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 04:41 AM
I checked all UI policies and client scripts for this table and did not find anything that makes this field readonly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 04:42 AM
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 06:04 AM - edited 05-21-2024 06:11 AM
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