Newer Version Available
Template Configuration Resource
- Resource URL
-
1/wave/templates/<templateIdOrApiName>/configuration - Formats
- JSON
- Available Version
- 36.0
- HTTP Methods
- GET
- GET Request Parameters
-
Parameter Name Type Description Required or Optional Available Version disableApex Boolean Indicates whether apex integration hooks are enabled or not. Optional 36.0 - GET Response Body (TemplateConfigurationRepresentation)
-
Property Name Type Description Filter Group and Version Available Version ui UiDefinitionRepresentation The user interface definition for the template. Small, 36.0 36.0 variables Map <String, VariableDefinitionRepresentation> A map of the defined variables for the template. Small, 36.0 36.0 The following JSON is an example response body.
1{ 2 "ui": { 3 "pages": [ 4 { 5 "title": "Application Preferences", 6 "variables": [ 7 "lensDashboardName", 8 "dashboardHeader" 9 ] 10 }, 11 { 12 "title": "Other preferences", 13 "variables": [ 14 "emailNotifications", 15 "emailAddress" 16 ] 17 } 18 ] 19 }, 20 "variables": { 21 "numberPicked": { 22 "defaultValue": 3, 23 "description": "A number between 1 and 10.", 24 "excludeSelected": false, 25 "excludes": [], 26 "label": "Please pick a number between 1 and 10?", 27 "required": true, 28 "variableType": { 29 "enums": [], 30 "max": 10, 31 "min": 1, 32 "type": "NumberType" 33 } 34 }, 35 "lensDashboardName": { 36 "defaultValue": "My View of Election Data", 37 "description": "The name of the sample lens.", 38 "excludeSelected": false, 39 "excludes": [], 40 "label": "What would you like to name your lens and dashboard?", 41 "required": true, 42 "variableType": { 43 "type": "StringType" 44 } 45 }, 46 "dashboardHeader": { 47 "defaultValue": "Wow! Interactive Dashboards are Nice!", 48 "description": "The dashboard header.", 49 "excludeSelected": false, 50 "excludes": [], 51 "label": "What would you like the dashboard header to say?", 52 "required": true, 53 "variableType": { 54 "enums": [], 55 "type": "StringType" 56 } 57 }, 58 "emailNotifications": { 59 "defaultValue": "Yes", 60 "description": "Email notifications", 61 "excludeSelected": false, 62 "excludes": [], 63 "label": "Would you like to receive emails for promotions?", 64 "required": false, 65 "variableType": { 66 "enums": ["Yes","No"], 67 "type": "StringType" 68 } 69 }, 70 "emailAddress": { 71 "defaultValue": null, 72 "description": "Your email address.", 73 "excludeSelected": false, 74 "excludes": [], 75 "label": "Please enter your email address?", 76 "required": false, 77 "variableType": { 78 "enums": [], 79 "type": "StringType" 80 } 81 } 82 } 83} -
- UiDefinitionRepresentation
-
Property Name Type Description Filter Group and Version Available Version displayMessages DisplayMessageRepresentation[] The display messages for this template configuration. Small, 36.0 36.0 pages PageRepresentation[] The page collection for this template configuration. Small, 36.0 36.0 - DisplayMessageRepresentation
-
Property Name Type Description Filter Group and Version Available Version location String The name of the page where the text is to be displayed. Small, 36.0 36.0 text String The text content to display. Small, 36.0 36.0
-
- PageRepresentation
-
Property Name Type Description Filter Group and Version Available Version condition String The optional condition to determine if the page is visible or not. Values are client-side EL notation (such as {{Variables.selectedOption}}). Small, 36.0 36.0 helpUrl String A URL to this page's help webpage. Small, 36.0 36.0 title String The title for the page. Small, 36.0 36.0 variables PageVariableRepresentation[] The collection of variables for this template configuration. Small, 36.0 36.0 vfPage AssetReferenceRepresentation The Visualforce page to be used as the wizard user interface instead of the standard wizard interface. Small, 40.0 40.0 - PageVariableRepresentation
-
Property Name Type Description Filter Group and Version Available Version name String The name of a variable. Small, 36.0 36.0 visibility String The visibility expression for this variable Small, 36.0 36.0
-
- VariableDefinitionRepresentation
-
Property Name Type Description Filter Group and Version Available Version computedValue Object The computed value of the variable. This value is set by integrated apex implementations. Small, 38.0 38.0 defaultValue Object The default value of the variable. Small, 36.0 36.0 description String The description of the variable. Small, 36.0 36.0 excludeSelected Boolean Indicates whether this variable excludes already selected values or not. Small, 36.0 36.0 excludes String[] The list of values to exclude from the variable selection. Small, 36.0 36.0 label String The label for the variable. Small, 36.0 36.0 mostRecentValue Object The value specified in the most recent app creation process. Small, 36.0 36.0 required Boolean Indicates whether the variable is required or not. Small, 36.0 36.0 variableType VariableTypeRepresentation The type of the variable. Valid variable types are: - ArrayTypeRepresentation
- BooleanTypeRepresentation
- ConnectorTypeRepresentation
- DatasetAnyFieldTypeRepresentation
- DatasetDateTypeRepresentation
- DatasetDimensionTypeRepresentation
- DatasetMeasureTypeRepresentation
- DatasetTypeRepresentation
- DateTimeTypeRepresentation
- NumberTypeRepresentation
- ObjectTypeRepresentation
- SObjectFieldTypeRepresentation
- SObjectTypeRepresentation
- StringTypeRepresentation
Small, 36.0 36.0
- ArrayTypeRepresentation
-
ArrayTypeRepresentation inherits properties from the abstract VariableTypeRepresentation. These base properties appear in ArrayTypeRepresentation alongside the properties defined explicitly in the following table.
Property Name Type Description Filter Group and Version Available Version enums Object The restricted list of enumerated values for the array. Small, 36.0 36.0 itemsType VariableTypeRepresentation The variable type contents of the array variable type. Small, 36.0 36.0 sizeLimit SizeLimitRepresentation The size limit of the array. Small, 36.0 36.0 - BooleanTypeRepresentation
-
BooleanTypeRepresentation inherits properties from the abstract VariableTypeRepresentation. These base properties appear in BooleanTypeRepresentation alongside the properties defined explicitly in the following table.
Property Name Type Description Filter Group and Version Available Version enums Boolean[] The restricted list of enumerated values for the boolean variable type. Small, 36.0 36.0 - ConnectorTypeRepresentation
-
ConnectorTypeRepresentation inherits properties from the abstract VariableTypeRepresentation. These base properties appear in ConnectorTypeRepresentation alongside the properties defined explicitly in the following table.
Property Name Type Description Filter Group and Version Available Version enums String[] The restricted list of enumerated string values for the connector variable type. Small, 48.0 48.0 - DatasetAnyFieldTypeRepresentation
-
DatasetAnyFieldTypeRepresentation inherits properties from the abstract BaseObjectTypeRepresentation.
- DatasetDateTypeRepresentation
-
DatasetDateTypeRepresentation inherits properties from the abstract BaseObjectTypeRepresentation.
- DatasetDimensionTypeRepresentation
-
DatasetDimensionTypeRepresentation inherits properties from the abstract BaseObjectTypeRepresentation.
- DatasetMeasureTypeRepresentation
-
DatasetMeasureTypeRepresentation inherits properties from the abstract BaseObjectTypeRepresentation.
- DatasetTypeRepresentation
-
DatasetTypeRepresentation inherits properties from the abstract BaseObjectTypeRepresentation.
- DateTimeTypeRepresentation
-
DateTimeTypeRepresentation inherits properties from the abstract VariableTypeRepresentation.
- NumberTypeRepresentation
-
NumberTypeRepresentation inherits properties from the abstract VariableTypeRepresentation. These base properties appear in NumberTypeRepresentation alongside the properties defined explicitly in the following table.
Property Name Type Description Filter Group and Version Available Version enums Double[] The restricted list of enumerated double values for the numeric variable type. Small, 36.0 36.0 max Double The maximum allowed value of the number. Small, 36.0 36.0 min Double The minimum allowed value of the number. Small, 36.0 36.0 - ObjectTypeRepresentation
-
ObjectTypeRepresentation inherits properties from the abstract BaseObjectTypeRepresentation.
- SObjectFieldTypeRepresentation
-
SObjectFieldTypeRepresentation inherits properties from the abstract BaseObjectTypeRepresentation. These base properties appear in SObjectFieldTypeRepresentation alongside the properties defined explicitly in the following table.
Property Name Type Description Filter Group and Version Available Version dataType String The sObject field data type when a default field is not supplied. The valid data types are XSD data types, for example: xsd:string Small, 36.0 36.0 - SObjectTypeRepresentation
-
SObjectTypeRepresentation inherits properties from the abstract BaseObjectTypeRepresentation.
- StringTypeRepresentation
-
StringTypeRepresentation inherits properties from the abstract VariableTypeRepresentation. These base properties appear in StringTypeRepresentation alongside the properties defined explicitly in the following table.
Property Name Type Description Filter Group and Version Available Version enums String[] The restricted list of enumerated values for the string variable type. Small, 36.0 36.0 - BaseObjectTypeRepresentation
-
BaseObjectTypeRepresentation inherits properties from the abstract VariableTypeRepresentation. These base properties appear in BaseObjectTypeRepresentation alongside the properties defined explicitly in the following table.
Property Name Type Description Filter Group and Version Available Version properties Map<String, VariableTypeRepresentation> The defined properties and types of the object variable type. Small, 36.0 36.0 required String[] The required properties of the object variable type. Small, 36.0 36.0 strictValidation Boolean Indicates whether to use strict validation when unexpected properties exist in the object's payload or not. Small, 36.0 36.0 - VariableTypeRepresentation
-
Property Name Type Description Filter Group and Version Available Version type VariableTypeEnum The type of the variable. Valid values are: - ArrayType
- BooleanType
- ConnectorType
- DatasetAnyFieldType
- DatasetDateType
- DatasetDimensionType
- DatasetMeasureType
- DatasetType
- DateTimeType
- NumberType
- ObjectType
- SobjectFieldType
- SobjectType
- StringType
Small, 36.0 36.0 - SizeLimitRepresentation
-
Property Name Type Description Filter Group and Version Available Version min Integer The minimum number of elements in the array. Small, 37.0 37.0 max Integer The maximum number of elements in the array. Small, 37.0 37.0