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.

List-edit ACL: allow edit on custom dictionaries

magee
Tera Guru

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

}

1 ACCEPTED SOLUTION

@magee 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

5 REPLIES 5

@magee 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader