making fields in the list view not editable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2023 01:59 AM
I have a requirement,
when ever the fields in the form is readonly, on that time fields in the list view also read only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2023 02:04 AM
you can make field on list readonly using list_edit ACL
you should know under which condition the field is made read-only on form; use the same condition in the list_edit ACL when you create it
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2023 03:21 AM
thanks @Ankur Bawiskar .
may i know how to write ACL to make field in the list readonly for the user who have program user role.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2023 03:23 AM
so what did you start and where are you stuck?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2023 03:31 AM - edited 02-22-2023 03:54 AM
my original requirement was, if user select the status date in the status report table, it will compare the lock date field in the status lock date. Given the lock functionality has been applied to the previous month records, so it will make field in the status report table read only for the program user role user.
we achived this functionality through script include and client script.
but fields in the status report in read only for the form.
i got a new requirement to Given the lock functionality has been applied to the previous month records, the user was also not able to edit status report fields in the list view also.
how to achive this
