Hide Employment Info tab - Configure Person Spotlight tabs visibility using Expressions — 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

Hide Employment Info tab - Configure Person Spotlight tabs visibility using Expressions

I want to configure configure the person spotlight area in the HCM Design Studio to hide employment info tab for select user roles.

I tried selecting "Expression" under the Visible setting, and wrote below expression, which aims to hide the Employment Info tab for users that have the role of "my_role" placeholder.

The reason we want to hide it for the role is because it has data that a certain role should not see.

!securityContext.userInRole['my_role']

However, I got an error and it didn't work. Is there any guide on using the Expression visibility editor?

I found the below video but the video did not show how to use Expressions to conditionally display or hide the tab.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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