Editing a custom code template with the web UI framework

You can edit a custom code template by using the Code Template Generator.

Procedure

  1. Open the Code Template Generator.
  2. In the Available Templates section, right-click on a template in the Custom Templates list.
  3. Choose the edit template option.

    The template appears, with variables in the Template Input Variables section and the code in the “Provide the Ext XTemplate to use” section.

    In the User Defined Variables section, update the values for any of the variables or add new variables.

  4. Click the Save button to update the Ext XTemplate for the template. Click the Cancel button to exit the Create New Template window without saving any of your work.

    The Code Template Generator window re-appears.

  5. Click the Generate Code button to update the template.

    New code appears in the Generated Code section.

  6. Save the updated template by clicking the OK button.

    You can exit the Code Template Generator without saving the template by clicking the Cancel button.