An organization can configure an entity to use a specially designed form or specialized functionality. To implement this specialized behavior, a developer creates a .NET assembly that defines the entity's extended functionality. These assemblies are then stored in the Object Repository and are added to the entity on the Plug-Ins tab using the Plug Ins record. The entity uses the plugins specified on this tab to override standard functionality with the functionality specified in one or more plug-ins.

Plug In Types

The Entity Plug In Types service stores the list of available plug-in types. Plug-in types may be global or entity-specific. A developer can create additional Plug In Types as necessary. See About the Entity Plug In Types Form for more information.

The standard Aptify installation includes seven global types as well as a number of entity-specific types:

Step-by-Step Instructions

Once a developer has created the plug in, follow these steps to add the new plug-in to an entity:

These steps describe how to add a plug-in to an entity after a developer has created the .NET assembly; these steps do not describe how to write a plug-in. Aptify provides information on creating entity plug-ins in the Developers training course. Students in this course gain first-hand experience creating entity plug-ins in a test environment. Contact Aptify for more information. Additional developer information is also available in the Aptify Software Development Kit (SDK).

  1. Add the plug-in's object file to the Object Repository.
  2. If the plug-in provides functionality that is not already described by an existing plug-in type, create a new record in the Entity Plug In Types service as directed by the plug-in's developer.
  3. Open the entity's record in the Entities service.
  4. Click the Plug-Ins tab.
  5. Open a new Plug Ins sub-type record.
  6. Select the Plug In Type from the drop-down list.
  7. Enter the Object Repository location of the plug-in's object in the Object Name field.
  8. Enter the plug-in's .NET assembly name in the Assembly Name field.
  9. Enter the class within the .NET assembly that implements the plug-in's functionality in the Class Name field.

    Plug Ins Record
  10. Click OK.
  11. Save and Close the Entities record.
  12. Close and reopen the Aptify client.
  13. Use the records in the entity to preform a test to confirm that the system successfully uses the functionality defined by the plug-in you added.

Sample Duplicate Check Objects

Aptify provides the compiled object and source code for two sample duplicate check objects: one for Persons and one for Companies. A developer can use these samples as a basis for writing his or her own duplicate check object for an entity. Note that these objects are provided as samples only since what may be considered a duplicate will vary from entity-to-entity and from organization-to-organization. Additional sample duplicate check objects are included with the sample application. See About the Sample Application Duplicate Check Objects for details.

The sample objects use the following logic to identify duplicates:

By default, the Aptify installer adds these sample objects to the Aptify Object Repository, but the duplicate checking functionality is not enabled.

See Enabling the Persons and Companies Sample Duplicate Object to turn on the sample duplicate check object for the Persons and/or Companies entity:

Related topics