Aptify automatically generates the form template for a new entity when an administrator saves it for the first time with the Generate Table option checked on the Entities record. The system also regenerates form templates as needed if there are subsequent changes to the entity that need to be reflected on the form.
For example, if an administrator adds or removes a field from an entity, the system automatically regenerates the template. If an administrator changes the Show In Find attribute for an entity field, the system does not regenerate the template since this change has no impact on the form's appearance.
A form created by the Form Template Generator includes the following characteristics:
- General Tab: The generator adds all entity fields that do not have a Category specified to a General tab. Fields appear in the order in which they appear within the entity (assuming they are in the same category).
- Attachments Tab: The generator adds an Attachments tab to all generated forms.
- Sub-Type Tabs: For top-level entities, the generator adds a tab for each of its sub-type entity.
- Related Entity Tabs: If an entity is the foreign key for another entity (that is, there is a link box on another entity's form that links to this entity), the generator automatically creates a tab that lists the records in the related entity where the current record appears in the link box. These tabs do not appear on the form by default but a user can add them using the Configure option. (See "Modifying Tab Layout" on page 499.)
- Other Tabs: If one or more fields have a Category specified, the generator automatically creates a tab using the Category name. Fields in a particular category appear under the tab with the same name.