You can add scripting capabilities to a new entity by following these steps:
- Add an embedded link to the Scripts entity's ID field in your new entity.
- See Creating Embedded Objects for information on how to create an embedded link.
- See Creating Embedded Objects for information on how to create an embedded link.
- Use the Visual Designer to remove the fields from the Scripts entity from your generated form.
- See Using the Visual Designer to Modify Existing Fields for more information on deleting field parts from a form.
- 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 Code Script control to your entity's form.
- See Using the Visual Designer to Add New Fields or Controls and About the Visual Designer Code Script Control for more information.
- See Using the Visual Designer to Add New Fields or Controls and About the Visual Designer Code Script Control for more information.
- Create business logic that determines when and how to execute the script stored in your entity's records.
- Aptify expects that a developer will complete this step; additional details are beyond the scope of this guide. Refer to the Aptify Software Development Kit (SDK) or consider taking an Aptify Developer training class for information on developer-related topics.