This section describes the public JSON formats of exportable application templates.

Public format for template-root

Public format for template-root:

Properties in the JSON file:

Example:

{
  "ecr:createDate": "2015-08-11T14:57:34.958Z",
  "ecr:type": "templates-root"
} 

Public format for template:

Properties in the JSON file:

Example:

{
    "@description": "${template.description}",
    "@group": "Navigation",
    "ecr:createDate": "2016-09-12T17:33:58.404+05:30",
    "@thumbnailUrl": "thumbnail.jpg",
    "ecr:type": "template",
    "defaultContentItem": {
        "lessLinkText": "Show Less Refinements...",
        "numRefinements": "10",
        "@name": "Dimension Navigation",
        "dimensionId": "",
        "moreLinkText": "Show More Refinements...",
        "maxNumRefinements": "200",
        "sort": "default",        "showMoreLink": false,
        "dimensionName": ""
    },
    "editorPanel": {
        "editor": "editors/DefaultEditorPanel",
        "children": [
          <additional elements omitted from this example> 
                    ]
    },
    "typeInfo": {
        "boostRefinements": {"@propertyType": "List"},
        "buryRefinements": {"@propertyType": "List"},
        "dimensionId": {"@propertyType": "String"},
        "dimensionName": {"@propertyType": "String"},
        "lessLinkText": {"@propertyType": "String"},
        "maxNumRefinements": {"@propertyType": "String"},
        "moreLinkText": {"@propertyType": "String"},
        "numRefinements": {"@propertyType": "String"},
        "showMoreLink": {"@propertyType": "Boolean"},
        "sort": {"@propertyType": "String"}
    }
}
             


Copyright © Legal Notices