Create Employee Picker Controls

XML Forms Guide

Version
R2024.1.1
Create Employee Picker Controls

The autocomplete employee picker control enables users to type all or part of the employee name to retrieve a list of matching employees from which to select a value. The employee picker respects the application security so that the user submitting or editing the form can only retrieve the employees they are entitled to see based on their user security settings.

Note: The employee picker control can be displayed as a <GridColumn> by specifying 'EmployeePickerColumn' as the grid column <Type>.

The <EmployeePicker> field supports the following configuration XML tags:

  • <Style>
  • <Row>
  • <Column>
  • <ItemForeground>
  • <Limit>
  • <SearchFilter>
  • <SelectionChangedEventProcess>
  • <SelectionChangedEventSelectorId>
  • <VisibleIf>
  • <IsReadOnly>
  • <InitialValue>

For more information about each tag, see Appendix: Supported XML Tags.

Example Use

Copy
<EmployeePicker>
    <Style>IVAutoCompleteBox</Style>
    <Row>n</Row>
    <Column>n</Column>
    <ItemForeground>Purple</ItemForeground>
    <Limit>n</Limit>
    <CacheServerAnswers>True</CacheServerAnswers>
    <SearchFilter>Contains</SearchFilter>
    <SelectionChangedEventProcess>JobReqVacatingEmployeeSelected
        </SelectionChangedEventProcess>
    <SelectionChangedEventSelectorId>MainSelector
        </SelectionChangedEventSelectorId>
    <VisibleIf>JobReq_Reasons:Replacement</VisibleIf>
</EmployeePicker>