If you have a comment on this topic, contact Aptify Documentation. If you want to return to the Aptify Community Site, please click here.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Based on the information in the Vehicles entity record, the Baseline Form Template Generator creates the following form for the Vehicles entity:
Generated Vehicles Form

However, based on Motor Loaner's requirements and design specifications, the developer used Aptify's form template tools to modify the Vehicles form to look like this:
Final Vehicles Form

This section describes the steps the developer followed to change the Vehicles form's appearance from the first figure to the second figure.

  1. Log into Aptify as a user with system administrator privileges.
  2. Create the Vehicle's Rental History list view in the Rental Agreements service. This is a formatted list view with no filters (since filters will be applied at the record level).
  3. Create the Vehicle's Service History list view in the Service Tickets service. This is a formatted list view with no filters (since filters will be applied at the record level).
  4. Modify the Vehicles.Form top-level form template to add a top area by moving the Vehicles.Tab part down 60 pixels. Also, change the default width of the form to 530 and the default height to 313. See "Adding a Top Area to a Form" on page 292 for instructions.
  5. Open the Vehicles form.
  • If the top area does not display due to system caching, close and reopen Aptify.
  1. Use the Visual Designer to add these fields to the top area of the Vehicles form. See "Modifying Field Layout with the Visual Designer" on page 313 for information on using the Visual Designer.
  • VIN: Text field.
  • VehicleStatusID: Link box.
  • VehicleModelID: Link box.
  1. Using the Visual Designer, rearrange the three fields in the desired layout and set the Tab Indexes as appropriate. (See "Aptify Form Template Properties Dialog" on page 316 for information on the Tab Index property.)
  2. Since the Vehicle Status field should only be updated automatically by the system, disable that field's link box and hyperlink by specifying a value of 0 for the LinkBoxEnabled and HyperlinkEnabled input properties within the Visual Designer's Properties dialog (as shown in Figure 14.78).
  • See "Link Box" on page 344 for more information on these input properties. Disable Link Box Options
  1. Save and close Visual Designer for the top area.
  2. Open the Visual Designer for the Vehicles form's General tab.
  3. Delete the three generated controls on the General tab that correspond to the three fields that were just added to the top area.
  4. Rearrange the remaining fields and add a line separator to logically group the related fields together on the tab. Also, set the Tab Indexes as appropriate. (See "Aptify Form Template Properties Dialog" on page 316 for information on the Tab Index property.)
  5. Exit Visual Designer mode for the General tab.
  6. Right-click within the tab control and select Configure from the menu to open the Configure Tab dialog for the Vehicles form.
  7. Use the Form Template Tab wizard to add a new View tab, named Rental History, to the form. See "Using the Form Template Tab Wizard" on page 303 for details. When prompted, specify the Vehicle's Rental History list view from the Rental Agreements service and use the VehicleID as the Related Field. This filters the view results where a rental agreement's VehicleID equals the ID of the currently displayed Vehicles record. Configure New View Tab
  8. After completing the wizard, specify that the modified tab layout should be applied globally to all users.
  9. Load the Rental Activity tab and confirm that the list view displays properly. Rental Activity Tab
  10. Right-click within the tab control and select Configure from the menu to open the Configure Tab dialog for the Vehicles form again.
  11. Use the Form Template Tab wizard to add a second new View tab, named Service -History, to the form. See "Using the Form Template Tab Wizard" on page 303 for details. When prompted, specify the Vehicle's Service History list view from the Service Tickets service and use the VehicleID as the Related Field. This filters the view results where a service ticket's VehicleID equals the ID of the currently displayed Vehicles record.
  12. After completing the wizard, specify that the modified tab layout should be applied globally to all users.
  13. Load the Service History tab and confirm that the list view displays properly.Service History Tab
  14. To prevent these modifications to the form from being overwritten by a future change to the Vehicles entity, save all of the Form Templates in the form's hierarchy as non-generated and specify a rank lower than 100 for the templates. See "Mark All of the Form's Templates as Non-Generated" on page 291 for details.
  • No labels