How to customize ability to add fields in activity log?

adityavishnu
Giga Expert

Currently, only admins or users with personalize_form role have privilege to see Configured available fields in the Work Notes activity log. personalize_form will do the job but it has provision to change the Form Layout and Form Design as well. We want to prevent this.

one idea is to Hide Configure Menu Link from the right click option, not sure how feasible is this.

Any other ideas/solutions?

 

1 REPLY 1

Michael Ritchie
ServiceNow Employee
ServiceNow Employee

All ITIL users have access to configure the list of fields in the activity stream at a personal level.  This is stored as a user preference with a name of "incident.activity.filter" and the value will be the list of fields chosen by that individual user.

Now users with the admin or personalize_form rule have a link at the bottom called Configure available fields which then takes that user to a slushbucket to select fields.  Once you save this the list of fields is stored in a system property called "glide.ui.incident_activity.fields".  The value of this system property will be a comma separated list of field names.

You could give access to update this system property to other users outside of this role but they won't have the same slushbucket UI that you would if you click the configure available fields.  Thinking outloud you could create a record producer that will update the value of this system property and present a slushbucket.  Then being a record producer you can control access to who can see it via user criteria.

 

Please mark this post as helpful or the correct answer to your question if applicable so others viewing may benefit.