Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When there is entity-specific logic that needs to happen on the client side, you need to write a GE plugin plug-in for the entity.

Notewarning
titleNever 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 expericeexperience. 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

...

  1. Download the template GE subclass from Aptify Web JavaScript Templates.
  2. Follow the prompts in the template to implement your GE

    plugin.

    plug-in.

    Tip

    Remember to

    also

    change the comments to apply to your

    plugin

    plug-in rather than the template

    !

    .

  3. Remove any template code that you don't do not need or haven't have not implemented.
  4. Add your implemented plugin to the Aptify 's metadata system. See Use a UI Part To Link JavaScript Code To Metadata.

...

Filter by label (Content by label)
showLabelsfalse
max5
spacesPK55
sortmodified
showSpacefalse
reversetrue
typepage
labelsgeneric-entity aptify-javascript-api ge-plugin plugin plug-in javascript