Changing the Order of Controls and Panes in the Default Form

The order of controls and panes in a default form mirror the order in which the corresponding attributes are defined in the business object model. By changing the order of attributes in the business object model, you can change the order of the form fields.

Procedure

  1. Open the business object model in the Editor view.
  2. Click the GenericClaim class to select it.
  3. In the Attributes tab of the Properties view, you will see all the attributes of the GenericClaim class, including the primitive types, like claimSummary, and the complex types, Claimant and Witness.
    Note: The complex types, Claimant and Witness, appear in the Attributes tab as single attributes of the GenericClaim class. You can reorder complex types in the Attributes tab for GenericClaim. This will move the entire pane that contains the fields for the complex type up or down on the default form, relative to the other panes and controls on the form. But it won’t change the order of the controls within the complex type, for instance, the name and address fields within the Claimant class. To reorder those, you must click the Claimant class itself, and go to the Attributes tab of the Properties view for Claimant. Likewise, to change the order of the enumeration literals within the VehicleType enumeration, you must click the enumeration and go to the Enum Literals tab in the Properties view for the enumeration.
  4. Move the claimant attribute up so that it appears just beneath the claimSummary attribute. To do this, click the claimant attribute in the Attributes tab of the GenericClaim’s Properties view to select it. Click the up arrow repeatedly until the attribute is in the desired position.
  5. In the same manner, move the vehicleType attribute up so that it is just beneath the claimant attribute.
  6. Change the order in which the vehicles are listed in the VehicleType enumeration by moving MOTORCYCLE to the top. To do this, click the VehicleType enumeration to select it and go to the Enum Literals tab. Click the MOTORCYCLE literal to select it, and click the up arrow repeatedly to move MOTORCYCLE to the top of the list.
  7. Preview the form by opening the business process in the editor, right-clicking the Record no-fault claim details user task, and clicking Form > Preview. The controls will now appear in the new order you have established. The claimSummary field is followed by claimant and then vehicleType. And the first option in the vehicleType option list is now MOTORCYCLE.