If you have a comment on this topic, contact Aptify Documentation. If you want to return to the Aptify Community Site, please click here.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

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

 

  1. Download the template GE subclass from Aptify Web JavaScript Templates.
  2. 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!
  3. Remove any template code that you don't need or haven't implemented.
  4. Add your implemented plugin to Aptify's metadata system. See Use a UI Part To Link JavaScript Code To Metadata.

 

  • No labels