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 2 Next »

When you have written code for a GE subclass, layout control, form control, etc., Aptify needs to be made aware that there is a custom client-side implementation available.  This is done by creating a UI Part and connecting it to whatever it implements.

Step-by-step guide

  1. Create a new UI Part (from the Framework or UI application):
        Name: a descriptive name such as "Order Line GE Subclass", "Meeting Transfer Wizard Payment Reconciliation Layout Control", "Text Box Form Control", etc.
        Part Type: JavaScript
        Description: description, probably not much different than the name
        Key Value: fully-qualified name of your implementing function, e.g. Aptify.applications.orders.orderLinesGE
        Text: You can put your code here directly.  Or, if you prefer to keep it in an external JavaScript file for easier editing and debugging, just put a comment here so people looking at the UI Part will know where to look for the code, i.e.

    // Actual implementation is in Aptify.Applications.Orders.UI.js
  2. Attach the UI Part to what it actually implements.

    • For GE subclasses, go to the Entity's Plug-In tab.  Create a new Entity UI Parts record, defining the Part as the UI Part you just created.
    • For Form Template Layout Controls, go to the top-level Form Template's UI Platforms tab.  Open the single record that's there and define the Layout Control Part as the UI Part you just created.
    • For Form Components, go to the Form Component's UI Platforms tab.  Open the single record that's there and define the UI Part as the UI Part you just created.  Also put the Key Value from your UI Part into the Key Value field of the UI Platforms record (this is redundant, but better safe than sorry.)

  3. Regenerate applicable metadata.

    • For GE subclasses and Form Template Layout Controls, regenerate the metadata for the top-level Entity.
    • For Form Components, regenerate the UI Part Metadata Items

Filter by label

There are no items with the selected labels at this time.

  • No labels