Versions Compared

Key

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

...

  1. Create a new UI Part (from the Framework or UI application):
        Name: a descriptive name such as "Persons 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.persons.personsGE
        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.

    Code Block
    languagejs
    // Actual implementation is in Aptify.Applications.Persons.js
     
  2. Attach the UI Part to what it actually implements.

    • For GE Sub-classes:
      1. Go to the Entity's Plug-In tab.  
      2. Create a new Entity UI Parts record, defining the Part as the UI Part you just created.


    • For Form Template Layout Controls:
      1. Go to the top-level Form Template's UI Platforms tab. 
      2. Open the single record that's there (don't create a new one) and define the Layout Control Part as the UI Part you just created.


    • For Form Components:
      1. Go to the Form Component's UI Platforms tab.  
      2. Open the single record that's there (don't create a new one) 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.

...