Steps To Enable Context Sensitive DFF Based On Absence Type in Absence Form and Page 12 2
Steps To Enable Context Sensitive DFF Based On Absence Type in Absence Form and Page 12 2
Steps To Enable Context Sensitive DFF Based On Absence Type in Absence Form and Page 12 2
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
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
5
Level: Function: Absence Management
ID: DescFlexAbsTypeMap
Name: ABSENCE_ATTENDANCE_TYPE_ID
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:
7
Setup in Core HR Forms
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