Hiding Fields In 'Transfer Employee' (Doc ID 1947921.1)

Last updated on FEBRUARY 06, 2015

Applies to:

Oracle Fusion Global Human Resources Cloud Service - Version 11.1.8.0.0 and later
Oracle Fusion Global Human Resources - Version 11.1.8.0.0 and later
Information in this document applies to any platform.

Goal

On : 11.1.8.0.0 version, Other Issues

Hiding fields in 'Transfer Employee'

In the person gallery for a transfer employee I'm attempting to hide Building, Floor, Office Number, and Mail Stop under Location Details. In the 'Compensation Details' train stop I'm attempting to hide Annual Salary, Annualized Full-Time Salary, Salary Range, Compa-Ratio, Range Position, Quartile, and Quintile under Salary. In order to do this I'm going into 'Customize Person Gallery Pages...' selecting the field I want to hide, clicking edit, and inserting an expression from the 'Show Component' down arrow. The expression I'm using is to show these fields only for HR users:

#{securityContext.userInRole['PER_HUMAN_RESOURCE_SPECIALIST_JOB,PER_HUMAN_RESOURCE_ANALYST_JOB,HRC_HUMAN_CAPITAL_MANAGEMENT_APPLICATION_ADMINISTRATOR_JOB']}

When testing it before hitting 'Ok' it comes back as 'True', but when I test it with a manager who does not have any of the HR roles listed above I can still see the fields. I have also tried this expression:

#{!securityContext.userInRole['PER_LINE_MANAGER_ABSTRACT']}

But this will simply hide the component all together instead of just hiding it for the Line Manager.
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms