For more information, please refer to this announcement explaining best practices for getting answers to questions.
Workforce Compensation - Hiding tabs in Administer Worker Task
Summary:
Hiding all tabs except "Compensation" and "Statement" tabs in Administer Worker Task for a specific role.
Content (please ensure you mask any confidential information):
Hi,
I am currently trying to hide all the tabs (except for Compensation and Statement tabs) in Administer Worker Task for a specific Compensation Manager role. I am planning to hide these tabs using Page Composer and using EL Expression.
This is the EL Expression to hide the tabs: #{!(securityContext.userInRole['datarolecode'])}.
But everytime I apply this el expression, I experience this error:
What could be the reason? Thank you!
Version (include the version you are using, if applicable):