Edit ui.json
The ui.json file determines how your template
displays the configuration wizard questions defined in variables.json.
The UI file determines wizard page layout, defining the order in which variables described in variables.json appear on a page.
{
"ui" :{
"pages": [
{
"title":"Customization Questions",
"variables":[
{ "name": "customizeUserObjectInfo" }
]
}
,
{
"title":"User Object Information",
// Only show this page if the user checked the "customizeUserObjectInfo" checkbox.
"condition":"{{Variables.customizeUserObjectInfo == 'Yes'}}",
"variables":[
{ "name": "userObjectUsernameField" },
{ "name": "userObjectName" },
{ "name": "pageConditionVariable" },
{ "name": "showBoolean" }
],
"helpUrl":"https://salesforce.com/wave/salesapp/page1/help.html"
},
{
"title":"Job Information",
"variables":[
{ "name": "maxAllowedOffset" },
{ "name": "booleanExample", "visibility": "{{Variables.showBoolean ? 'Visible' : 'Hidden'}}" },
],
"helpUrl":"https://salesforce.com/wave/salesapp/page2/help.html"
}
],
"displayMessages": [
{
"text":"When we're done creating the app, we'll send you an email.",
"location": "AppLandingPage"
}
]
}
The displayMessages text is visible to the user on the page that displays the app creation progress.
