ui.json Attributes

The ui.json file attributes are:

AttributeRequiredDescription
pagesNoContainer attribute only - array of UI pages to be displayed.
pages → titleYesString title to be displayed at the top of the page.
pages → variablesYesArray of variables to display on a page, 1 variable is necessary.
pages → variables → nameYesVariable name, must match name of variable defined in variables.json.
pages → variables → visibilityNoVariable visibility (visible, disabled, hidden) defined by conditional.
pages → conditionNoIf condition is met, then the page will display; if the condition is not met, the page will not display.
pages → helpUrlNoURL provided by template dev to additional content to help user with creating app.
pages → vfPageNoContainer attribute only: defines the VisualForce Page to customize this page.
pages → vfPage → nameYesThe name of VisualForce class to use.
pages → vfPage → namespaceYes, if org uses namespace.The namespace for the org.
displayMessagesNoContainer attribute only - array of custom display message, currently only 1 displayMessage is supported.
displayMessages → textYesText to display on the app creation progress landing page (running Astro page).
displayMessages → locationYes“AppLandingPage” is only supported location.

See Also