Progress with Redwood: Redwood Resources for Oracle Cloud HCM - Go Here
Page composer > Expression Builder > filter by logged in user
Summary
Page composer > Expression Builder > filter by logged in userContent
Hello,
The client wants to achieve the following:
For all users having the role (Line Manager), the following information (father name, mother name, blood type) should be hidden when the user is viewing other people information.
However, these fields should be displayed in read-only mode when the user is viewing his own information.
I was wondering if we can achieve this through page composer > Expression Builder. Are there any expression which can help us deduce if the logged in user is viewing his current information or not?
A guy from the community told me that I can get the person ID of the logged in user from the bean HcmFusePlusBean #{HcmFusePlusBean.userPersonId}. So I was wondering, if you are storing the person ID of the person we are viewing his information in a certain Bean like a (backing bean or something).