Create Employee Property Fields

XML Forms Guide

Version
R2024.2.1
Create Employee Property Fields

Creating fields that reference additional employee properties configured in Dayforce is similar to the process of creating fields with the <Field> tag. Most of the tags used to configure employee property fields follow the same behavior and definition as other workflow fields, but employee properties need two different, additional tags. The <Field> tag is replaced with the <EmployeeProperty> tag, and the <BindingProperty> tag is replaced with the <PropertyXRefCode> tag.

Note: When you add an employee property, you must also add a field that captures the global effective start date of the employee property. If you don't add the global effective start date, the form fails when a user tries to submit the form. The field doesn't need to be visible on the form. The suggested placement of the date field is after the last <Field> tag on the form, before the </Formbody> tag.

Example Use

Copy
<EmployeeProperty>
    <Style>IVComboBox</Style>
    <Block>n</Block>
    <Row>n</Row>
    <Column>n</Column>
    <PropertyXRefCode>EmployeePropertyXrefCode1</PropertyXRefCode>
</EmployeeProperty>

The following is an example of a field that captures the global effective start date as today's date. The field isn't visible on the form:

Copy
<Field>
    <Style>IVDatePicker</Style>
    <Row>89</Row>
    <Column>0</Column>
    <BindingProperty>GlobalEffectiveStart</BindingProperty>
    <Visible>false</Visible>
    <InitialValue>function:today</InitialValue>
</Field>