Need to hide Goals Action button from Employee screen ONLY using el expression — 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

Need to hide Goals Action button from Employee screen ONLY using el expression

edited Jul 3, 2023 2:22PM in Performance Management 12 comments

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)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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