You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to hide the “pencil icon” button on the family and emergency contact tile?

Received Response
55
Views
4
Comments

Summary:

I have a requirement to hide the “pencil icon” button on the family and emergency contact screen for specific roles.  However, when I try to hide the “pencil icon” button via page composer, the settings icon for the commandimageLink is greyed out.

Steps to get on family and emergency contacts screens: 

My Client Groups > Show More > Family and Emergency Contacts > Search for a person > Then select the contact person

Can someone advise how can I hide these pencil icons for specific roles? Below I've mentioned the worked EL expression that I've used,

#{!(securityContext.userInRole['MAS_DIVISION_HR_VIEW_DATA_DATA'] or securityContext.userInRole['MAS_HR_VIEW_DATA_DATA'] or securityContext.userInRole['MAS_GROUP_HR_VIEW_DATA_DATA'])}

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!