ACL - add_to_list - How to run a script to avoid fields to be added to a list

German Alvarez2
Tera Expert

Hi,

Working on UX, I would like to implement an ACL to restrict the aggregation of fields to the list depending on an script result, but, I've realized that add_to_list ACLs doesn't show Script field.

I remember something about come controls that could be done also using special Script Includes, like Restricting Filters and Breadcrumbs - ServiceNow Wiki but I don't know if there is something like this for columns.

I'm avoiding to control add_to_list field by field, due it will be run on [cmdb_ci] and its dependant tables, and that means that it will be very difficult to maintain this, field by field without any "general rule".

Thank you and Best Regards