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):