Fields

The Field node is used to specify an individual field on the screen. There are many attributes that can be used to control the behaviour of this node, from the database columnName its associated with, to the usage of blank or default values in codetable fields.

An additional attribute called metatype can also be used to control the behaviour of the field. Information on the available metatypes, and their effects can be found in the Metatypes reference in the appendix.

Using an example of an entity attribute called employmentType, that is a codetable of possible employment types. The following code would produce a field on screen that started with the default value from the codetable, and once set on the entities create page, would not be modifiable from the entities modify page.

<Cluster ... >
        <Field columnName="employmentType" use_default="true"
          label="Field.EmploymentType.Label" modify="No"
        />
      </Cluster>