Steps To Enable Context Sensitive DFF Based On Absence Type in Absence Form and Page 12 2

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

Steps to Enable Context Sensitive DFF based on Absence Type in

Absence Form and Page

Contents
Goal ................................................................................................................................................................ 2
DFF Setup ....................................................................................................................................................... 2
Setup in SSHR ................................................................................................................................................. 4
Setup in Core HR Forms ................................................................................................................................. 8

1
Goal
To Enable Flex Field Segments based on Absence Type in both Core HR & SSHR.

DFF Setup
Title: Additional Absence Details
Reference Field: :$PROFILES$.ABSENCE_ATTENDANCE_TYPE_ID
Enable the Check box against “Synchronize with Reference Field”

In the Context Field Values, Define segments against Absence Type Id.
For Example, in this Document sharing segments defined against Family Leave

*********IMPORTANT THE CONTEXT AND CODE MUST MATCH THE ABSENCE TYPE ID*********

For this test I’ll be using Family leave which has absence type id of 7, so name and code are 7 in the
above screenshot.

2
Save then click Freeze Flexfield Definition > Save again to compile

3
Setup in SSHR

Employee Self Service -> Absence Management

Click Create Absence

Click on Settings > Personalize Page > Query “Flex: Additional Absence Details”

4
Click the Pencil Icon to the right of this

Click on Personalize Icon against “Flex : Additional Absence Details” Select the Rendered Property as True
against Function Level and Apply.

Next, click Create Item next to “Flex : Additional Absence Details” to create a Flex Map

Define the Item as shown below and Apply

5
Level: Function: Absence Management

ID: DescFlexAbsTypeMap

Name: ABSENCE_ATTENDANCE_TYPE_ID

Reference Value: ${oa.AbsenceVO.AbsenceAttendanceTypeId}

Refers Context: false

Rendered: true

Once all the personalization is done, clear the cache and retest the issue.

IMPORTANT:

Functional Administrator > Core Services > Global Configuration > Caching Framework > Clear Cache

Navigate to Employee Self-Service > Absence Management > Create Absence > Notice No Absence Type
is selected so no Segments appear.

6
Next Change Absence Type to Family Leave and see the segments appear:

Change Absence Type again and segments change

7
Setup in Core HR Forms

US Super HRMS Manager -> People -> Enter and Maintain


Query the Employee
Choose Others -> Absences

Help -> Diagnostics -> Custom Code -> Personalize


Enable profile Utilities:Diagnostics if you are unable to access this

8
Setup the following two personalizations exactly as shown:

Personalization 1

9
Personalization 2

10
Now Navigate all the way out of the forms then back in.

XX HRMS Manager > People > Enter and Maintain > Query Employee > Others.. > Absence > Change Absence Type
to Family Leave > Click the small box at the bottom right of the form to expand the segments:

11

You might also like