Add Employee Property Grids to XML Forms

XML Forms Guide

Version
R2024.1.1
Add Employee Property Grids to XML Forms

The <EmployeePropertyGrid> tag can be used in XML forms. This tag allows you to manipulate employee properties in a form using a grid.

Not all properties are suitable for this grid. The properties should logically share effective dates.

To set up the employee property grid:

  1. Go to HR Admin > Employee Properties.
  2. Create employee properties and click Save.
  3. In Workflow Administration > Form Builder, click Add to create the employee form.
  4. Set up your employee properties form:
    1. In the Properties tab, fill out the fields.
    2. In the XML tab, add the form’s XML.
    3. Click Save. The XML looks as follows:
    4. Copy
       <WF_DynamicForm>
        <DataClass>Employee</DataClass>
        <FormHeader>
          <Style>header</Style>
          <Title />
        </FormHeader>
        <EmployeeHeaderPanel>
          <Style />
        </EmployeeHeaderPanel>
        <FormBody>
          <Style>IVFormBody</Style>
          <Block>
            <NumberOfColumns>1</NumberOfColumns>
          </Block>
          <EmployeePropertyGrid>
            <Style />
            <Block>1</Block>
            <Row>1</Row>
            <Column>0</Column>
            <RowSpan>8</RowSpan>
            <AuthorizationKey>ALL</AuthorizationKey>
            <GroupProperties>true</GroupProperties>
            <ValidationTitle>Car Info</ValidationTitle>
            <EPGridColumn>
              <BindingProperty>Value</BindingProperty>
              <XRefCode>EmployeePropertyXrefCode18</XRefCode>
              <DefaultValue>BMW</DefaultValue>
            </EPGridColumn>
            <EPGridColumn>
              <BindingProperty>Value</BindingProperty>
              <XRefCode>EmployeePropertyXrefCode19</XRefCode>
              <IsRequired>True</IsRequired>
              <HeaderCaption>Year of purchase</HeaderCaption>
            </EPGridColumn>
            <EPGridColumn>
              <BindingProperty>Value</BindingProperty>
              <XRefCode>EmployeePropertyXrefCode20</XRefCode>
              <IsRequired>True</IsRequired>
              <DefaultValue>100</DefaultValue>
            </EPGridColumn>
          </EmployeePropertyGrid>
        </FormBody>
      </WF_DynamicForm>
  5. In Workflow Administration > Role Privileges, assign the form to the feature and the role with direct save workflow:
    1. Click Add.
    2. Complete the Parent Feature, Form, and Workflow fields.
    3. Click in the Role field and select the roles.
    4. Click Save.

When the employee with the assigned role logs in and navigates to the assigned feature, the form name is available in the list of forms.