- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2025 06:55 AM
Hello all-
Requirement:
On the sc_req_item list view, if the field is system created (state, approval, request_item, etc.), do not all the user edit these fields (dictionaries) in the list view.
If the field is created by us (dictionary name starts with 'u_'), allow list edit capability.
I'd like to do this in 1 list-edit ACL.
For the script, I'm thinking something like:
if(dictionary.name.startsWith('u_'){
return true //allow list edit on field
}
else {
return false //do not allow list edit on field
}
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2025 08:52 AM
Thank you for marking my response as helpful.
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
‎05-28-2025 06:59 AM
Hi @magee
It's not possible to achieve your requirement with one ACL. You may need to create list_edit type ACL on individual fields. or On Cell Edit client script on individual fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2025 07:20 AM
#bummer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2025 07:06 AM
not possible with 1 ACL
You will have to block them individually by creating list_edit ACL on those fields on which you want to block
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
‎05-28-2025 08:52 AM
Thank you for marking my response as helpful.
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