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

Create a Layout Control

When you have a Form Template that needs extra logic, you can write a client-side layout control.

Not all Form Template behaviors require code: for field-based logic that causes simple changes to controls or values, Form Template Part Bindings can be configured in the Form Template's metadata. The best practice is to use bindings whenever possible.

Step-by-step guide

  1. Download the template layout control subclass from Aptify Web JavaScript Templates.
  2. Follow the prompts in the template to implement your layout control. 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 layout control to Aptify's metadata system. See Use a UI Part To Link JavaScript Code To Metadata.

Copyright © 2014-2017 Aptify - Confidential and Proprietary