When there is entity-specific logic that needs to happen on the client side, you need to write a GE plugin for the entity.
Never Trust The Browser
We offer the ability to write client-side plugins to reduce the number of trips necessary to the server side. Adding various pieces of business logic calculation and validation on the client side makes for a much snappier user experice. Always remember, however, that client-side JavaScript is easily manipulated by bad actors. Never implement business logic or validation ONLY in client-side code!
Step-by-step guide
- Download the template GE subclass from Aptify Web JavaScript Templates
- Follow the prompts in the template to implement your GE plugin. Remember to also change the comments to apply to your plugin rather than the template!
- Remove any template code that you don't need or haven't implemented.
- Add your implemented plugin to Aptify's metadata system.
Related articles