EL expression to hide icons by department — Cloud Customer Connect
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

EL expression to hide icons by department

Summary:

Good morning!

We have the requirement to hide an icon in the navigator, depending on the department to which the employee belongs, however so far the attempts have not ended successfully.

We have tried the following expressions, according to documentation and recommendations within the community:

#{securityContext.userProfile.department!='XXXX'}
#{webCenterProfile[securityContext.userName].department=='XXXX'}

Do you have any recommendations to achieve this requirement?

Best regards

Content (please ensure you mask any confidential information):

Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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