- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2022 06:25 AM
Hi ,
We have one field in list view it is read only .and users with one of the role should be able to edit it.
can we achieve it by Business rule. kindly help .
Solved! Go to Solution.
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 02:48 AM
Hi,
if it's readonly at dictionary level you cannot do anything to make it editable by using ACL etc.
Steps to do
1) Don't make it readonly at dictionary level. uncheck that readonly checkbox
2) create onLoad client script/UI policy to make it readonly on form level if you wish to do so
3) create list_edit field level ACL on that field of the table and in the roles section give the role
This will work fine.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2022 06:38 AM
Hello Candy,
Is there any specific reason to go ahead with BR? You can achieve this by writing an ACL as follows :
Type : Record
Operation: list_edit
Name : table_name, field_name
Required Role : your_role
I think this should help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 02:35 AM
Hi
Thank but its not working but creating acl in the same way you said.field is readonly in dictionary level for eveyone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 02:40 AM
Hi,
how it is currently set as Readonly in list view?
Is it because of some list_edit ACL?
Is that field by default readonly at dictionary level?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 02:44 AM
Hi
It is default readonly at Dictionary level.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 02:48 AM
Hi,
if it's readonly at dictionary level you cannot do anything to make it editable by using ACL etc.
Steps to do
1) Don't make it readonly at dictionary level. uncheck that readonly checkbox
2) create onLoad client script/UI policy to make it readonly on form level if you wish to do so
3) create list_edit field level ACL on that field of the table and in the roles section give the role
This will work fine.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader