To display the Manager control on a custom XML form, include the <ManagerSelector>
tag and the appropriate sections under it:
Copy
<ManagerSelector>
<Row>n</Row>
<Column>n</Column>
<ColumnSpan>n</ColumnSpan>
<RespectOrgSecurity>True/False</RespectOrgSecurity>
<RestrictToManagerAuthority>True/False</RestrictToManagerAuthority>
<RestrictToTargetEmployeeOrg>True/False</RestrictToTargetEmployeeOrg>
<DisableDerivedManager>True/False</DisableDerivedManager>
</ManagerSelector>
Specify an integer for the n
values to configure the row and column appearance, and define a True
or False
value for the following optional attributes:
- RespectOrgSecurity: Determines if the manager selection is restricted to only those employees to which the user has access. If this attribute is not defined, the default value is True.
- RestrictToManagerAuthority: Determines if the manager control displays only those employees that have been assigned manager authority for the location specified on the form. If this attribute is not defined, the default value is False.
- RestrictToTargetEmployeeOrg: Determines if the manager control displays only those employees assigned to the location selected on the form. If this attribute is not defined, the default value is False.
- DisableDerivedManager: Determines if the manager section automatically displays the employee's derived manager when a job assignment and location are selected. If this attribute is not defined, the default value is False.