Get Started with Redwood for Oracle Cloud HCM Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
Hide Submit button based on Role
Summary
Hide Submit button based on RoleContent
Hello,
We need to hide Submit for Approval button for managers belonging to one role but show it for managers belonging to another role. Can you advise how this can be achieved?
We tried using personalization but we're getting some error. Is it feasible to use securityContext.userInrole here ?
This is the seeded EL expression available for the field :
#{backingBeanScope.planOverviewBean.submitEnabled && ((!backingBeanScope.planOverviewBean.submitted && !backingBeanScope.planOverviewBean.approved && !backingBeanScope.planOverviewBean.topLevelMgr))}
Thanks!
1