List edit ACL Read Only

ServiceNow10sun
Giga Guru

Hi All , 

 

Need some help , i need to create ACL List edit to restrict list view of "cab agenda items" .

We have OOB related list called"cab agenda items"  so when the user click on "Open in new window" in the related list and the  record opens in a new window then we need to restrict in list view  that only "meeting" field cab manager and delegates only should be able to edit and for rest all it should be read only. 

table name - cab_agenda_item

 

1 REPLY 1

Runjay Patel
Giga Sage

Hi @ServiceNow10sun ,

 

You can create one list edit acl like below.

RunjayPatel_0-1729609446912.png

in script field add below code

if (gs.getUser().isMemberOf(current.cab_meeting.manager))
    return true;
else
    return false;
 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.

Regards
Runjay Patel - ServiceNow Solution Architect
LinkedIn: https://www.linkedin.com/in/runjay
YouTube: https://www.youtube.com/@RunjayP

-------------------------------------------------------------------------