blob: 10380b5452c6cb753a4c3fb152f9afad8653c8fb [file] [log] [blame]
{
"jcr:primaryType": "sling:Page",
"jcr:content": {
"sling:resourceType": "sling-cms/components/pages/base",
"jcr:title": "Load Content",
"jcr:primaryType": "nt:unstructured",
"container": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/general/container",
"title": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/general/textelement",
"i18n": true,
"level": "h3",
"text": "Load Content"
},
"description": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/general/textelement",
"i18n": true,
"level": "p",
"text": "Loads content using the Sling Post Servlet Import."
},
"suffixswitch": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/cms/suffixswitch",
"base": "/content",
"button": "Go",
"label": "Path",
"target": "/cms/admin/loadcontent.html",
"type": "nt:hierarchyNode",
"content": {
"jcr:primaryType": "nt:unstructured",
"suffixlabel": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/fields/suffixlabel",
"label": "Loading content under path"
},
"slingform": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/slingform",
"button": "Load Content",
"skipcancel": true,
"fields": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/general/container",
"operation": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/fields/hidden",
"name": ":operation",
"value": "import"
},
"contentType": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/fields/select",
"label": "Content Type",
"name": ":contentType",
"options": {
"json": {
"label": "JSON",
"value": "json"
},
"jar": {
"label": "JAR",
"value": "jar"
},
"jcr.xml": {
"label": "JCR XML",
"value": "jcr.xml"
},
"xml": {
"label": "XML",
"value": "xml"
},
"zip": {
"label": "ZIP",
"value": "zip"
}
}
},
"content": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/fields/textarea",
"label": "Content",
"name": ":content"
},
"advanced": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/fields/well",
"collapse": true,
"title": "Advanced",
"content": {
"jcr:primaryType": "nt:unstructured",
"autoCheckout": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/fields/select",
"label": "Auto Checkout",
"name": ":autoCheckout",
"options": {
"no": {
"label": "No",
"value": "false"
},
"yes": {
"label": "Yes",
"value": "true"
}
}
},
"checkin": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/fields/select",
"label": "Checkin",
"name": ":checkin",
"options": {
"no": {
"label": "No",
"value": "false"
},
"yes": {
"label": "Yes",
"value": "true"
}
}
},
"replace": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/fields/select",
"label": "Replace",
"name": ":replace",
"options": {
"no": {
"label": "No",
"value": "false"
},
"yes": {
"label": "Yes",
"value": "true"
}
}
},
"replaceProperties": {
"jcr:primaryType": "nt:unstructured",
"sling:resourceType": "sling-cms/components/editor/fields/select",
"label": "Replace Properties",
"name": ":replaceProperties",
"options": {
"yes": {
"label": "Yes",
"value": "true"
},
"no": {
"label": "No",
"value": "false"
}
}
}
}
}
}
}
}
}
}
}
}