How to Create a Custom Role which can be used in EL Expression such that it is supported in hcmUI, f — 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

How to Create a Custom Role which can be used in EL Expression such that it is supported in hcmUI, f

edited Oct 11, 2019 2:38AM in Workforce Management 8 comments

Summary

How to Create a Custom Role which can be used in EL Expression such that it is supported in hcmUI, fscmUI

Content

Hi Experts,

We want to create a dummy role which we would use in an EL Expression to hide/unhide a Menu Item.

Do we need to create the role in each stripe like hcmUI, fscmUI...etc (if yes how can we do that)

We are on release 13 19C.

Any help/pointers would be useful.

Kind Regards

Ashish

Version

Rel13 19C

Code Snippet

#{securityContext.userInRole['ROLE_A'] and !securityContext.userInRole['ROLE_B']}

Note: Both ROLE_A and ROLE_B are hcm roles.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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