An organization can add filter rule capabilities to a new entity as needed but this requires assistance from a developer so the system can evaluate a particular record against the criteria a user has specified in the filter rule.
- The following steps provide a general overview of the process for adding filter rule functionality to a new entity:
- Create a Filter Rule Types record for the new filter rule implementation.
- This includes defining the set of Entity Instances that a user will be able to use to construct filters. These correspond to the set of entities that appear in a filter rule's Services drop-down list. When a user selects a particular entity, Aptify automatically populates the Field list with the set of fields from that entity.
- An administrator can exclude a particular entity on the list of available Services, see the About the Filter Rule Type Entity Instances Form.
- The developer who is writing the corresponding business logic should provide the set of Entity Instances that should be added to the Filter Rule Type.
- Add an embedded link to the Filter Rules entity's ID field in your new entity.
- See Creating Embedded Objects for information on how to create an embedded link.
- Use the Visual Designer to remove the fields from the Filter Rules entity from your generated form, if applicable.
- See Using the Visual Designer to Modify Existing Fields for more information on deleting field parts from a form.
- Use the Visual Designer to add the Filter Rules UI control to your entity's form. Configure the control's Input Map as necessary.
- See Using the Visual Designer to Add New Fields or Controls and About the Visual Designer Filter Rules UI Control for more information.
- Create business logic that determines how to pass record data to the Filter Rule evaluator to determine if the current record matches the filter rule criteria defined by the user.
- Aptify expects that a developer will complete this step; additional details are beyond the scope of this topic. Refer to the Aptify Software Development Kit (SDK), Developing for Aptify, or consider taking an Aptify Developer training class for information on developer-related topics.
Comments
Please sign in to leave a comment.