5.5 Using Application Blueprints

View an application blueprint and directly edit the application definition in JSON format.

See Also:

To learn more about JSON, see https://www.json.org/

5.5.1 What Is an Application Blueprint?

You can view the application blueprint by running the Create Application Wizard and clicking the View Blueprint link at the top of the Create Application Wizard. The Application Blueprint window transforms and displays the current application definition as a JSON document. Edit the document to update application properties and then click Apply Blueprint to change the current application details.

If you need to create a large number of similar pages you can copy the relevant JSON code for one page, paste it numerous times, and then make small adjustments to the JSON. This approach can be significantly quicker than manually clicking the Add Page button for each page in the wizard.

You can also replace the blueprint with the definition from a previously generated application. Click Load a Previous Blueprint to replace the blueprint with the definition from a previously generated application. This approach is a simple way to iterate the application design by adding additional pages, changing the features, or tweaking the settings, before generating the application again.

5.5.2 Viewing an Application Blueprint

To view an application blueprint:

  1. On the Workspace home page, click the App Builder icon.
  2. Click the Create button.
  3. Click New Application.
  4. At the top of the page, click the View Blueprint link.
    The Application Blueprint window appears displaying the application definition in JSON format.Description of app_blueprint.png follows
    Description of the illustration app_blueprint.png
  5. To edit the document:
    1. Update application definition.

      The following buttons display at the top of the Script Editor:

      • Undo - Ctrl+Z — Removes, or undoes, the most recent line edit made in the Script Editor.

      • Redo - Ctrl+Y — Repeats the most recent line edit made in the Script Editor.

      • Find - Ctrl+FFind resembles a magnifying glass. Click Find to perform a basic search.

      • Replace - Ctrl+Shift+FReplace resembles a two-sided arrow. Click Replace to search and replace existing code.

    2. Click Apply Blueprint to change the current application definition.
  6. To replace the blueprint with the definition from a previously generated application:
    1. Click Load Previous Blueprint.
    2. In Load Blueprint, locate the blueprint and click Select.
    3. Click Apply Blueprint to change the current application details.

5.5.3 Loading an Application Blueprint

To view an application blueprint:

  1. On the Workspace home page, click the App Builder icon.
  2. Click the Create button.
  3. Click New Application.
  4. At the top of the page, click the Load Blueprint link.
    The Load Blueprint window appears.Description of load_blueprint.png follows
    Description of the illustration load_blueprint.png
  5. On Load Blueprint, you can:
    • Load a new blueprint. Locate the blueprint to load and click Select.
    • Delete a blueprint. Click the Delete Blue icon.