How to hide the 'Activity'

Mag_ Tomer Harp
Giga Expert

How do I hide the part mark in Red for specific users?

I prefer doing that using ACL but if it is not possible so client script will do the job as well

 

Thx

find_real_file.png

1 ACCEPTED SOLUTION

Ah, ok.

Try creating a read ACL on the sys_history_line table and control that with either a role or condition, etc.

Alternatively...you can create a section that just contains the activity log (in form design) and then hide that section based off of role (via client script)? Use this thread for example:

https://community.servicenow.com/community?id=community_question&sys_id=5e1f03e1dbdcdbc01dcaf3231f96...

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

3 REPLIES 3

Allen Andreas
Administrator
Administrator

Hello,

In order to hide activity log entries you would need to hide the field as well...else it doesn't really make sense. So you would need to go to your ACLs and then create a read ACL for that table and field and then set it to a role or whatever condition you need.

https://docs.servicenow.com/bundle/newyork-platform-administration/page/administer/contextual-securi...

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi,

 

To hide fields I know, the question how do I hide the frame marked in RED

 

Regards,

Tomer

Ah, ok.

Try creating a read ACL on the sys_history_line table and control that with either a role or condition, etc.

Alternatively...you can create a section that just contains the activity log (in form design) and then hide that section based off of role (via client script)? Use this thread for example:

https://community.servicenow.com/community?id=community_question&sys_id=5e1f03e1dbdcdbc01dcaf3231f96...

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!