The following steps provide an overview of the basic process for creating a new Entity record:

  1. Open a new record from the Entities service.
  2. Enter a name for the entity in the Name field.
      • For example, use Sample Services rather than Sample Service.
      • If using Aptify Web Access, there are certain characters that the Aptify Smart Client and SQL Server support in an entity name that are not supported by the entity model used by Aptify Web Access. For example, the smart client and SQL Server support using a dash in the field name (such as PersonID-Name) but C# considers this an invalid Property Name. So, the entity model fails to generate for entities that has dashes in field names for AWA. Therefore, when a Entities record is saved with a name that contains an invalid character for Aptify Web Access, a warning message is displayed alerting the administrator that the name field is invalid for AWA and that the Entity Model generator will fail to generate. An administrator can then choose to save the entity as is or modify the name of the entity so that it conforms to the AWA standard.

  3. Edit the Display Name as necessary.
  4. Enter a culture string to use as the display name of the entity in the Display Culture String field if you want to localize this entity name on a user-by-user basis (based on a user's assigned Culture). See Using Localization Administration for details.

  5. Leave Base DSN and Base Database set to APTIFY (the default setting).
  6. Enter a name for the entity's database table in the Base Table field.
      • For example, if your entity's Name is Sample Services, enter SampleService in the Base Table field.

  7. Enter vw[Entity Name] in the Base View field.
      • For example, if your entity's Name is Sample Services, enter vwSampleServices in the Base View field.
         
  8. Confirm that the Generate Table and Is Installed options are selected.
  9. Using the Fields sub-type tab, add one or more fields to the entity.
  10. Click the Configuration tab.
  11. Aptify provides support for multiple filegroups to organize how and where SQL objects are stored within the Aptify database. If applicable, you can assign an entity's objects to a particular filegroup from the File Group drop-down menu. 
  12. Aptify also supports the ability to specifically group large text and image fields into a specified filegroup by specifying a filegroup from the Text/Image File Group drop-down menu.
  13. Aptify also supports the ability to display a preview pane at the bottom of list views that provides easy access to a sub-set of information from a particular record by specifying the appropriate form template in the Default Preview Pane link box.

    If the new entity is a sub-type entity, the Order By field is displayed and defines the order in which sub-type records are sorted within a Sub-Type Listing. This field is not visible for Entities records that are not sub-type entities. See Defining the Sort Order for Sub-Type Listings for more details.

  14. By default, Record History are enabled for new entities. If you want to disable Record History for this entity, clear the Track Versions option.
  15. If you want to require users to enter a justification each time a record is created or modified, select the Require Comments for each Save option. See Requiring Comments on Save for more information.

  16. Select the Enable Recordset Query Limitation option if you want to limit the number of records that can appear in a view based on the user's permissions. See the Managing the Recordset Query Limitation for more information.

  17. If you want to allow records from the entity to appear in the Most Recently Used Records component for dashboards, select the Enable Most Recently Used option. See Enabling Support for Most Commonly Used Records for more details.

  18. If you want to configure the label text and background color for required fields, select the Customize Required Field Font Name and Font Color. Four additional fields appear, set the color, font style, size, and background color as desired. See Configuring the Appearance of Required Fields for more information.

  19. Allow Record History Restore is an optional Record History feature that is also enabled by default for new entities. Clear the Allow Record History Restore option if you want to disable this Record History Restores for this entity.
  20. Click the Security tab and add permissions for at least one user or group to the new entity.
  21. Click the Applications tab.

  22. Select the Selected column for one or more applications to add the entity to an application.
  23. Save the entity.
  24. If the new entity is a top-level entity and you want to add a sub-type, click the Sub-Types tab.
  25. Right-click in the gray area and select New from the pop-up menu.
  26. Repeat the steps above to create the sub-type entity.
  27. Create additional sub-type records as necessary. When finished, save and close the Entities record.

    When an Entities record is saved with a field whose name contains an invalid character for Aptify Web Access, a warning message is displayed alerting the administrator that the name field is invalid for AWA and that the Entity Model generator will fail the generate.

  28. Close and relaunch Aptify.
  29. Login as a user who has permissions to the new entity and confirm that the new entity appears as intended.