Hiding Field on Record Preview

Kev9
Kilo Sage

Hi,

I have a Catalog Item that can be viewed by all resolver groups but contains sensitive data in one of the variables. That data should only be able to be viewed by one particular group.

I've created a UI policy that successfully hides the field on the RITM form, but it is visible from the sys_popup on the SC_Task form.

I've looked at creating and ACL but cannot get the desired result with that.

I've searched all over for a solution to this. I would have though that it is quite a common occurrence for sensitive data be required to be hidden from all but certain groups, but have yet to find an answer.

Any help gratefully appreciated!

12 REPLIES 12

Dubz
Mega Sage

Your best bet is to remove that field from the popup view, use the URL below to amend the view and just remove that field.

<your instance name>.service-now.com/<table name>.do?sysparm_view=sys_popup

Unfortunately it's not a field it's a variable so lives within the varaible editor field. Also this would be for all requested items and I only need this to happen on a specific one.

Have you tried adding permissions directly to the variable?

find_real_file.png

Bump! Just tested the above solution and it works. Add a read role into the permission tab on the variable and it will be omitted from the popup view for anyone without that role.