Composite fields

Technologies / User Interface Add-Ins / Assemblies with Multiple Panels / Find-Manage with Categories

You can combine several related fields on a form in order to:

  • make it clear to the user that the fields are related
  • use form space more efficiently.

field_composite.png

To do so, define a field with composite data type, and specify the list of base fields defined in the data source:

<field id="space" dataType="composite"
     baseField="wr.bl_id,wr.fl_id,wr.rm_id"> <title>Location</title> </field>     

This is equivalent to placing separate fields from the baseField list on the form.

  • The form. getFieldRestriction() method returns a restriction with clauses for all base fields.
  • The form.save() method saves all base fields to the database.

Example view: http://localhost:8080/archibus/schema/ab-products/solutions/assemblies/work-wizard/ab-ex-work-wizard-create.axvw