How to Make a Dot-Walked Field Read-Only in an Embedded Related List?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2025 05:20 AM
Hi All,
I have embedded a related list on the `ast_contract` form. In this related list, there is a field `model_number`, which is dot-walked from another table. I need to make this field read-only, but I am facing challenges:
- I tried using an onLoad Client Script, but I couldn't access the embedded related list and the `model_number` field.
- I attempted to use a UI Policy, but since it's an embedded related list, it's not available under UI Policy Related List Actions.
Questions:
1. How can I make the `model_number` field in the related list read-only?
2. Is there a way to control the field behavior through Client Scripts, UI Policies, or any other approach?
Any guidance would be appreciated. Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2025 10:52 PM
Since it's an embedded list added on form, client script, UI policies won't work there.
There is no way to handle this as there are some limitations when it comes to embedded list.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2025 11:16 PM
Thank you for marking my response as helpful.
You can try suggestions shared by other member but as per my knowledge this cannot be achieved.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader