This section describes the public JSON formats of exportable application content.
Public format for template-root
Public format for template-root:
Properties in the JSON file:
Property |
Value |
Description |
---|---|---|
ecr:type |
templates-root |
Required. |
ecr:createDate |
yyyy-MM-dd'T'HH:mm:ss.SSSX |
Optional. Date and time that this item was created. Defaults to creation date of the JCR. |
Example:
{ "ecr:createDate": "2015-08-11T14:57:34.958Z", "ecr:type": "templates-root" }
Public format for template:
Properties in the JSON file:
Property |
Value |
Description |
---|---|---|
ecr:type |
template |
Required. |
ecr:createDate |
yyyy-MM-dd'T'HH:mm:ss.SSSX |
Optional. Date and time that this item was created. Defaults to creation date of the JCR. |
Note
A template must have a
template.xml
file associated with it. The
template.xml
file describes structure of a
content-item
that can be created in Experience Manager
using this template.
Example:
{ "ecr:createDate": "2015-08-11T14:57:36.737Z", "ecr:type": "template"}