Control Database Access

XML Forms Guide

Version
R2024.1.1
Control Database Access
Tags to control database access for each form element that is used to display or update the contents of a database field
Tag Description
<AuthorizationKey> Determines whether users can view, insert, update, and delete records. A value of ALL will authorize all users. If set to HRMS_FILE, the user’s Dayforce authorizations will be applied. A null value will prevent any user from inserting, updating, or deleting. Other valid values: any role authorization.
<IsReadOnly> Controls whether the field or grid is read only. Valid values: True, False.
<IsRequired>

Controls whether the user is required to enter a value in the field, or field on a grid. If set to True, the field validation will be applied. Valid values: True, False.

  • Note: Use the <IsRequiredMsg> tag to define an associated validation message.
  • <Visible> Controls whether the field is visible to the user. If this tag is set to False, the field will not appear but will still occupy space on the form. If this tag contains a condition, the condition will be tested, and field will be displayed if the condition returns a value of True. See Assemble Conditions.
    <VisibleIf> Controls whether the field is visible to the user, depending on the selected value of one or more other controls. The control field can be a ComboBox or a CheckBox with a <FieldId> configured and the <SelectionChangedEventProcess> tag configured to 'True'. See VisibleIf.