This section describes the public JSON formats of exportable configuration for Page-Root and Page.
Public Format for page-root
Properties in the JSON file:
Property |
Value |
Description |
---|---|---|
ecr:type |
page-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. |
defaultSiteId |
String |
This is the site that the Assembler uses when the request cannot be matched to any site using the URL patterns. |
Example:
{ "ecr:createDate": "2015-03-11T14:57:34.906Z", "defaultSiteId": "/DiscoverElectronics", "ecr:type": "page-root" }
Public format for page
Properties in the JSON file:
Property |
Value |
Description |
---|---|---|
ecr:type |
page |
Required. |
contentType |
Page |
Optional. Restricts the type of content-item that can be added to this folder by an Experience Manager user. |
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. |
ecr:lastModified |
yyyy-MM-dd'T'HH:mm:ss.SSSX |
Optional. The last time when this page was modified. Defaults to the time when this page was imported into Workbench. |
ecr:lastModifiedBy |
String |
Optional. The user who last modified this page. |
Note
A page usually has a
content.xml
associated with it. This
content.xml
file configures the ContentItem that will
be returned by Assembler for this page.
Example:
{ "ecr:type": "page" "contentType": "Page", "ecr:createDate": "2015-03-11T14:57:34.906Z" "ecr:lastModified": "2015-04-23T17:39:32.956-04:00", "ecr:lastModifiedBy": "curtis" }