When there is entity-specific logic that needs to happen on the client side, you need to write a GE plug-in 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 experience. Always remember, however, that client-side JavaScript is easily manipulated by bad actors. Never implement .NET 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 plug-in.
Remember to change the comments to apply to your plug-in rather than the template.
- Remove any template code that you do not need or have not implemented.
- Add your implemented plugin to the Aptify metadata system. See Use a UI Part To Link JavaScript Code To Metadata.
Related articles
Comments
Please sign in to leave a comment.