Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Based on the information in the Vehicles entity record, the Baseline Form Template Generator creates the following form for the Vehicles entity:
AnchorRTF38303534353a204361707469
RTF38303534353a204361707469Generated Vehicles Form
Image Removed
Generated Vehicles FormImage Added
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:
AnchorRTF31383733383a204361707469
RTF31383733383a204361707469Final Vehicles Form
Image Removed
This section Final Vehicles FormImage Added

This topic 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  for instructions.
  5. Open the Vehicles form.
    • If the top area does not display due to system caching, close and reopen Aptify.
       
  6. 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  for information on using the Visual Designer.
    • VIN: Text field.
    • VehicleStatusID: Link box.
    • VehicleModelID: Link box.
       
  7. Using the Visual Designer, rearrange the three fields in the desired layout and set the Tab Indexes as appropriate. (See "About the Aptify Form Template Properties Dialog" on page 316 for  for information on the Tab Index property.)
  8. 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).

...

  1. the figure below.

...

    •   

      Disable Link Box OptionsImage Added
  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 "About the Aptify Form Template Properties Dialog" on page 316 for  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  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 Image Removed 

    Configure New View TabImage Added
  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 Image Removed 

    Rental Activity TabImage Added
  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  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 Image Removed

     Service History TabImage Added
  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 Templates for a Form as Non-Generated" on page 291 for  for details.