EmployeePropertyGrid

XML Forms Guide

Version
R2025.1.0
EmployeePropertyGrid

The <EmployeePropertyGrid> tag allows you to manipulate employee properties in a form using a grid.

To set up an employee property grid, create employee properties in HR Admin > Employee Properties.

You reference the employees on the form by including the <EmployeePropertyGrid> tag on the form, in Workflow Administration > Form Builder. To continue the example above, the XML would look like this:

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>

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