5.6 Using Application Blueprints

Each iteration of the Create Application Wizard saves an application blueprint which you can use to start adding pages to an application, or edit the application definition as a JSON document.

See Also:

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

5.6.1 What Is an Application Blueprint?

View or load an application blueprint by running the Create Application Wizard.

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.6.2 Loading an Application Blueprint

Load an application blueprint by running the Create Application Wizard and clicking the Load Blueprint link at the top of the Create Application Wizard.

To load an application blueprint:

  1. On the Workspace home page, click the App Builder icon.
  2. Click Create.
  3. Click Use Create App Wizard.

    The Create an Application page reappears.

  4. At the top of the page, click the Load Blueprint link.
  5. On Load Blueprint, you can:
    • Load a new blueprint. Locate the application and click Load.
    • Delete a blueprint. Locate the application and the Delete Blue icon.

5.6.3 Viewing an Application Blueprint

View an application blueprint by running the Create Application Wizard and clicking the View Blueprint link at the top of the Create Application Wizard.

To view an application blueprint:

  1. On the Workspace home page, click the App Builder icon.
  2. Click Create.
  3. Click Use Create App Wizard.
  4. At the top of the page, click the Load Blueprint link.

    The Load Blueprint page appears.

  5. On Load Blueprint, find the application and click Load.

    The Create an Application page reappears.

  6. At the top of the page, click View Blueprint.

    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
  7. 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.
  8. To replace the blueprint with the definition from a previously generated application:
    1. Click Load Previous Blueprint.
    2. On Load Blueprint, locate the blueprint and click Select.
    3. Click Apply Blueprint to change the current application details.