Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

regarding doc walked fields read only in list view

Madhusagar Pal1
Tera Expert

Hi All,

 

Good evening

 

Had a question regarding dot walked fields, how to restrict the dot walked fields read only in list view.

I tried with list_edit acl but i am not sure how to select the dot walked field in ACL.

 

Thanks & Regards,

Madhu.

4 REPLIES 4

Sandeep Rajput
Tera Patron
Tera Patron

@Madhusagar Pal1 In order to make a dot walk field read only in list view, you will have to define a list edit ACL on the table on which the dot walk field exists.

 

I am going to explain this using an example of the Incident list. In my use case, I would like to display the Manager field of Assigned to user on the Incident list.

 

1. As a first step, I added the dot walk filed Assigned To.Manager on the list view layout. 

Screenshot 2023-07-26 at 8.47.39 PM.png

 

2. This is how this list looks after adding the dot walked manager column.

Screenshot 2023-07-26 at 8.55.51 PM.png

 

3. Now, I would like to prevent Non admin users from updating this field. Hence, I need to define a list edit ACL, since the manager column doesn't belong on the Incident table, I need to define the list edit ACL on the table from where the manager field has been dot walked. In this case it is sys_user table.

Defined the list edit ACL on sys_user as follows.

Screenshot 2023-07-26 at 8.49.18 PM.png

 

4. Now when a non admin user tries to edit the dot walked manager column on Incident list, this is what they get to see.

 

Screenshot 2023-07-26 at 8.50.14 PM.png

Hope this helps.

Hi Sandeep,

 

Thanks for your reply,

If we create list_edit ACL on parent table i mean in your case manager field in sys_user table, the acl restrict the field in down the line where ever it is used right.

 

Thanks & Regards,

Madhu.

@Madhusagar Pal1 Yes, that is correct. Whenever someone will try to edit Manager filed from the list view of (sys_user or incident) the ACL would kick in.

 

Please mark my answer helpful and correct if it manages to address your issue.

Community Alums
Not applicable

@Sandeep Rajput I have an opposite requirement, where I have to allow the users with "abc" role to be able to edit the fields. These 3 fields exists on other table, so I created a write ACL and list_edit ACL for those 3 fields but I cannot edit the fields(I'm using it in the related list if it makes a diifernce) but I'm able to edit them on the main table list view where they actually exists  but not in the other table(related list view).

If you have a solution to this please let me know!

Thanks in advance,

Navdeep Rahiya.