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:42 AM
Because your client script won't override the functionality that's on the model field, making it read only.
Check the dictionary, the dictionary overrides, the acl's, the ui policies, data policies and other client scripts that may make this field read only.
You need to remove what is making it read only, not adding something (client side) to override that, because depending on what it is, this won't work.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2024 04:43 AM - edited 05-21-2024 06:12 AM
Hi @dev_K,
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