Skip to content

Commit

Permalink
add component mapping for content fragment.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Jun 28, 2021
1 parent 643b442 commit e7ee0e6
Showing 1 changed file with 49 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@
jcr:title="default"
sling:resourceType="wcm/core/components/policy/policy"
appResourcesClientlib="aemdesign.core.resources"
clientlibs="[aemdesign.core.vendorlib.bootstrap,aemdesign.common.head,aemdesign.common.components,aemdesign.common.body]"
clientlibsJsHead="[aemdesign.core.vendorlib.bootstrap,aemdesign.common.head]">
clientlibs="[aemdesign.core.vendorlib.bootstrap,aemdesign.common.head,aemdesign.common.components,aemdesign.common.body]"
clientlibsJsHead="[aemdesign.core.vendorlib.bootstrap,aemdesign.common.head]">
<jcr:content jcr:primaryType="nt:unstructured"/>
</policy_default>
</base>
Expand Down Expand Up @@ -187,18 +187,63 @@
<layout jcr:primaryType="nt:unstructured">
<container jcr:primaryType="nt:unstructured">
<policy_container
jcr:lastModified="{Date}2021-06-01T16:04:31.173+10:00"
jcr:lastModified="{Date}2021-06-28T16:17:44.301+10:00"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="AEM.Design Container Policy"
sling:resourceType="wcm/core/components/policy/policy"
components="[group:AEM.Design - Common,group:AEM.Design - Content,group:AEM.Design - Details,group:AEM.Design - Forms,group:AEM.Design - Layout,group:AEM.Design - Legacy,group:AEM.Design - Lists,group:AEM.Design - Media,group:AEM.Design - Widgets]">
components="[group:AEM.Design - Common,group:AEM.Design - Content,group:AEM.Design - Details,group:AEM.Design - Forms,group:AEM.Design - Layout,group:AEM.Design - Lists,group:AEM.Design - Media,group:AEM.Design - Widgets]">
<jcr:content
cq:lastReplicated="{Date}2021-06-09T06:36:41.141+10:00"
cq:lastReplicatedBy="admin"
cq:lastReplicationAction="Activate"
jcr:mixinTypes="[cq:ReplicationStatus]"
jcr:primaryType="nt:unstructured"/>
<cq:authoring jcr:primaryType="nt:unstructured">
<assetToComponentMapping jcr:primaryType="nt:unstructured">
<image
jcr:primaryType="nt:unstructured"
assetGroup="media"
assetMimetype="image/*"
droptarget="image"
resourceType="aemdesign/components/media/image"
type="Images"/>
<product
jcr:primaryType="nt:unstructured"
assetGroup="product"
droptarget="product-data-reference"
resourceType="commerce/components/product"
type="Products"/>
<document
jcr:primaryType="nt:unstructured"
assetGroup="media"
assetMimetype="[application/vnd.openxmlformats,application/msword,application/vnd.ms-powerpoint,application/mspowerpoint,application/powerpoint,application/x-mspowerpoint,application/x-msexcel,application/x-excel,application/excel,application/vnd.ms-excel,application/pdf,application/vnd.openxmlformats-officedocument.wordprocessingml.document]"
droptarget="file"
resourceType="aemdesign/components/content/download"
type="Images"/>
<video
jcr:primaryType="nt:unstructured"
assetGroup="media"
assetMimetype="video/*"
droptarget="video"
resourceType="aemdesign/components/media/video"
type="Images"/>
<fragment
jcr:primaryType="nt:unstructured"
assetGroup="media"
assetMimetype="text/html"
droptarget="fragment"
resourceType="aemdesign/components/content/contentfragment"
type="Content Fragment"/>
<experiencefragment
jcr:primaryType="nt:unstructured"
assetGroup="content"
assetMimetype="text/html"
droptarget="experiencefragment"
resourceType="cq/experience-fragments/editor/components/experiencefragment"
type="experiencefragment"/>
</assetToComponentMapping>
</cq:authoring>
</policy_container>
</container>
</layout>
Expand Down

0 comments on commit e7ee0e6

Please sign in to comment.