Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Hi Team,
As we know to achieve context aware feature, we need to property sling:configRef at JCR content node and point to configuration stores under /conf.
My question is : This activity of adding property is always manual activity or is there any way to configure at Page property level through which we can easily select configuration location.
Regards,
KTNR
Gelöst! Gehe zu Lösung.
Zugriffe
Antworten
Likes gesamt
Hello @arvindpandey
We can add it to the jcr:content of Site Root and commit it to ui.content package.
With filter configuration set to merge/update, we can deploy the config. No manual set-up needed.
<jcr:content
cq:allowedTemplates="[/conf/abc/settings/wcm/templates/(?!xf-).*]"
cq:conf="/conf/abc"
jcr:primaryType="cq:PageContent"
jcr:title="ABC Site"
sling:configRef="/conf/abc"
sling:redirect="{Boolean}true"
sling:redirectStatus="{Long}302"
sling:resourceType="foundation/components/redirect"
redirectTarget="/content/abc/se">
<image jcr:primaryType="nt:unstructured">
<file/>
</image>
</jcr:content>
Hello @arvindpandey
We can add it to the jcr:content of Site Root and commit it to ui.content package.
With filter configuration set to merge/update, we can deploy the config. No manual set-up needed.
<jcr:content
cq:allowedTemplates="[/conf/abc/settings/wcm/templates/(?!xf-).*]"
cq:conf="/conf/abc"
jcr:primaryType="cq:PageContent"
jcr:title="ABC Site"
sling:configRef="/conf/abc"
sling:redirect="{Boolean}true"
sling:redirectStatus="{Long}302"
sling:resourceType="foundation/components/redirect"
redirectTarget="/content/abc/se">
<image jcr:primaryType="nt:unstructured">
<file/>
</image>
</jcr:content>
Zugriffe
Likes
Antworten