How to make dot walked field read only?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I have dot walked X field from Y table. Written UI policy to make that read only , still editable on new forms(has to be read only). Tried with OnLoad Client Script. Still no luck. Please assist.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
Hi @KS86
Check if any data policy is contradicting.
If no , share your client script OR use below one
use an onLoad Client Script on the Form.
javascript
function onLoad() { g_form.setReadOnly('assigned_to.manager', true); //update field as per your requirement }
Also refer this KB: KB0687623 How to make all dot-walked fields read-only/writable on the form
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti