For more information, please refer to this announcement explaining best practices for getting answers to questions.
Need to hide Goals Action button from Employee screen ONLY using el expression
Summary:
Hide Goal Action button from Employee screen only - And keep it visible to Line manager and HR Admin Screens
Content (required):
Hello,
Am having this case here
I have got 2 types of Goal plans X and Y (Including the Measurements and Tasks)
X: Employee and Line manager and HR Admin Can edit in goal Details
Y: HR Admin Can't edit in goal Details
I used this EL Expression to separate the Goals from each other
#{(securityContext.userInRole['ORA_PER_HUMAN_RESOURCE_SPECIALIST_JOB']) and (pageFlowScope.params['pSelectedGoalPlanId'] !='300000388092343')}
What I have here that I included the roles (Example: ORA_PER_HUMAN_RESOURCE_SPECIALIST_JOB) I want to give the access for editing and excluded goal plan ID I don't want to edit (Y)