Sample Data :
Use Case:
The customer wants to display the Enterprise Hire Date on the employment card instead of Legal Employer Hire Date.
To achieve this follow the below mentioned steps:
· Go to the employment card while sand box is on and click on “Customize Pages” on the top left navigation
· Go to the source mode and select the field highlighted below
· Click on edit and select the enterprise hire date from the displayed drop down
· The EL for this field will become #{bindings.EnterpriseHireDate.inputValue}and the corresponding date will be displayed on the screen
· The “Years Worked in the Company” shown in the screen is calculated based on Legal Employer Hire date. Since in the above example the hire date display is mapped to Enterprise Hire date it is advisable to hide this field so that the worker or manager don’t get confused looking at this field
The following table summarizes the Binding Param and the EL, which should be configured to control the Hire Date display on the employment information screen:
Date
Biding Parameters
Expression Language
Legal Employer Hire Date (Out Of the Box)
HireDateTransient (Out Of the Box)
#{bindings.HireDateTransient.inputValue} (Out Of the Box)
LegalEmployerSeniorityDate
#{bindings.LegalEmployerSeniorityDate.inputValue}
Enterprise Hire Date
EnterpriseHireDate
#{bindings.EnterpriseHireDate.inputValue}
EnterpriseSeniorityDate
#{bindings.EnterpriseSeniorityDate.inputValue}
Legal Employer Seniority Date
Seniority Date
#{bindings.AdjustedSvcDate.inputValue}
Enterprise Seniority Date
Seniority Date
#{bindings.OriginalDateOfHire.inputValue}
Enterprise Hire Date in Mon YYYY format
EnterpriseHireDateTransient
#{bindings.EnterpriseHireDateTransient.inputValue}
This was not populating any value on screen
Start Date
#{bindings.EffectiveStartDate1.inputValue}
Please note that there are two Biding Parameters present with the name of “Seniority Date”. Therefore, if one of these need to be used then the correct Biding Parameter needs to be selected by looking at the auto populated EL.