Versions Compared

Key

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

The Entities form consists of many sections. The main section (the top panel of the Entity form) handles the identification, the database location, and the base view assignment of an entity.

Sample Standard Entities RecordImage Modified  Sample Virtual Entity Entities RecordImage Added

Top Panel

Name (Required)

...

If you want to localize this entity name on a user-by-user basis (based on a user's assigned Culture), specify a Culture Strings record in this field. See Using Localization for Administration for details.

BaseDSN (Required)

...

The base view is the default view used to view entity records. Note that for new entities, this field is a text box. It becomes a link box that links to a corresponding Database Objects record after you save the Entities record.

Info

In Aptify 5.5.1 and up, multiple base views can be created for an entity. See Using Multiple Base Views for more information.



Generate Table

This option indicates that the Aptify automatically generates the SQL table, views, and stored procedures upon the initial creation of an entity. This option greatly reduces the amount of manual work that must be done when creating or modifying entity field information. 

Is Installed 

Selecting this option specifies that the entity is considered installed and available for use to those who have sufficient permissions. entity field information. This option should be cleared for virtual entities.

Is Installed 

Selecting this option specifies that the entity is considered installed and available for use to those who have sufficient permissions. 

Is Virtual Entity

This option, added in Aptify 5.5.1, indicates that the entity is a virtual entity. See Using Virtual Entity Wizard for more information on virtual entities.

Info

When the Virtual Entity wizard is used to create a virtual entity record, this option is automatically selected.

Applications Tab

The Applications tab determines under which Application headings the entity appears. In the following example, the Dashboards entity is a service under the Aptify Framework Administration application heading.

...

This field specifies the filegroup for the entity's base table. See Creating Multiple Filegroups for  for more information about using multiple file groups.

...

This field specifies the filegroup in which the entity's large text and image are managed. If the entity contains a field or fields with the SQL Data Type of ncharvar(max), varchar(max), ntext, or text, this field is enabled and a filegroup can be selected to manage text and image fields. See See Creating Multiple Filegroups for more information about using additional filegroups.

...

This field specifies the type of view that loads by default when creating new views in this entity. This setting does not prevent a user from selecting a different view type within the Create View dialog. The list of available View Types is based on the records in the View Types entity. With Aptify , there are six View Types available: List, Chart, Calendar, Pivot Table, Map, and Gantt. If this field is blank, the system uses the List view type as the default.See the Viewing System Viewing System chapter in the Aptify 5.0 User Guide.pdf for the default.

See Using the Viewing System for information on how to create views.

...

This field links to the Form Template service and identifies the form template that appears as the preview pane for list views of this entity's records. See Specifying a Default List View Preview Pane and the Viewing System: List Views chapter in the Aptify User Guide for  for information on this feature.

...

If the entity is a sub-type entity, this field specifies the order in which records are sorted within a sub-type grid. Note that this field is not visible for top-level entities. See Defining the Sort Order for Sub-Type Listings for  for more details.

Track Versions

If this option is selected, record history for this entity's records is enabled. See Enabling and Disabling Record History for  for details.

Require Comments for Each Save

If this option is selected, users are required to enter comments for each record in this entity before allowing the record to be saved. See Requiring Comments on Save for  for details.

Enable Recordset Query Limitation

If this option is selected, Aptify limits the number of records that can appear in a view based on the user's permissions. See Managing the Recordset Query Limitation for  for details.

Allow Record History Restore

If this option is selected, users are allowed to restore previous versions of a record. Note that the Allow Record History Restore option is not applicable when the Track Versions option is clear. See Enabling and Disabling Record History for  for details.

Enable Viewer

This functionality is not currently implemented. If this option is selected, the viewer form is displayed to the user.

...

When selected, this entity's records can appear in the Most Recently Used record list within a dashboard. See The Aptify Desktop chapter in the Aptify User Guide for See Configuring the Most Recently Used Records Component for information on the Most Recently Used feature.

...

When selected, additional fields display that let you specify the font and color to use for required fields in this entity. The selections here override the value specified at the global level (in Startup.exe.config). See Configuring the Appearance of Required Fieldsfor  for details.

Required Entities Sub-Tab

...

The concept of entity dependency also affects how entities are packed and unpacked for future importing and exporting of entities. Since dependent entities share common fields with each other, the layout of the database schema on the backend aspect of Aptify forces entity integrity even if no records exist for any of the services. See Using the Entity Packing and Unpacking Wizards for  for more information on the Entity Packer.

...

All views and stored procedures that are used within Aptify exist as Database Objects. From the DB Objects tab in the Entities service, an administrator can link Database Objects records with an entity. Note that although the Stored Procedures tab on the Entities record lists only seven stored procedures for an entity, the DB Objects tab allows for any number of views, stored procedures, and triggers to be related to an entity.

See Creating Database Objects Service for  for more information.

Details Tab

...

This field identifies the type of replication that this entity supports. The options are None, Snapshot, Merge, and Snapshot and Merge. This field is reserved for future use. See the Aptify Replication Guide for more information.

Help Text

This field is reserved for future use.

...

For example, when a user clicks the Help button on a Lists record, the Aptify online help window appears and displays the Lists section from the Aptify User Guidetopic.

Help Object

This field specifies the Object Repository location of a Microsoft CHM Help file that contains information about this entity. This field is used in conjunction with Help URL to specify a particular page in an online help file that should open when a user clicks the Help button on this entity's form.

...

Note that the Row Set Security configuration option is only applicable to entities that have a generated base view.

See Managing Row Set Security for  for details.

Security Tab

Aptify security is administered from the Security tab of the entities form. This tab consists of five other tabs: the Group Permissions tab, the User Permissions tab, the Group Attachment Permissions tab, the User Attachment Permissions tab, and Options.

See Entity Level Security for Granting Entity Permissions to Groups and Granting Entity Permissions to Users for more information on assigning user and group permissions to an entity. See Attachment Modifying Security Settings for Attachments for information on defining attachment permissions at the entity level. See Modifying Security Settings for In Place Editing Security for  for information on the In Place Editing option, and see Managing Field Level Security for Settings for information on the Field Level Security options.

...

Stored procedures are the procedural processes that Aptify uses to conduct routine database transactions onto a SQL Server. From the Stored Procedures tab, these processes are linked to existing Database

Object records. Database Objects in Aptify represent individual views and stored procedures within the SQL Server. See Creating Database Objects Service for  for more information.

During the creation of an Aptify top-level entity, the following stored procedures are automatically generated:

  • spGet[EntityName]
    • For example, spGetDashboards
       
  • spCreate[EntityName]
    • For example, spCreateDashboards
       
  • spUpdate[EntityName]
    • For example, spUpdateDashboards
       
  • spDelete[EntityName]
    • For example, spDeleteDashboards

These four stored procedures are used to retrieve entity record information, create an entity record, update an entity record, or delete an entity record. For custom implementations, developer-defined stored procedures are used instead of the default stored procedures mentioned above.

...

  • When an existing Entities record is saved with a change that causes entity regeneration, the system regenerates that entity's spGetDependant stored procedure.
  • When a new Entities record is saved and the new entity links to an existing entity, the system also regenerates the existing Entities record's spGetDependant stored procedure so it searches for dependencies with the new entity.
  • When an existing Entities record that links to another entity is saved with a change that causes entity regeneration, then the system also regenerates the linked entity's spGetDependant stored procedure.

...

New entities created from the Sub-Types tab of the Entity service use the same form and process as normal entity creation. What differentiates sub-type entities from their parent entities is simply the information in the title bar. In the example below, the title bar indicates that this entity is a sub-type of the Culture Strings entity.


New Sub-Types Record

See Creating Multiple Filegroups for  for more information on sub-types.

...

The Web tab on an Entities record is reserved for future use.

It allows an entity to be set up with the Aptify WebAccess application. The Aptify WebAccess application is Aptify's browser-based front end interface. Note that WebAccess functionality is not available in the initial Aptify release.

...