What is the difference between
<cq:include path="../metadata" resourceType="social/blog/components/metadata" />
and
<cq:include path="metadata" resourceType="social/blog/components/metadata" />
Can someone please help. The docs are not satisfying
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
in the first case the node metadata located below the parent node is used (so "metadata" is a sibling to the current node), in the second case the node "metadata" below the current node is (a childnode). Depends on your node structure, if there are such nodes.
kind regards,
Jörg
Views
Replies
Total Likes
Refer [1] to know the purpose of each property of a tag. Hope this helps !
[1] https://docs.adobe.com/docs/en/cq/5-6/howto/taglib.html#<cq:include>
Views
Replies
Total Likes
Hi there,
Thanks for reaching out to Adobe Community.
You may want to look at the below link to know all cq:include tags:
https://helpx.adobe.com/experience-manager/kb/CQIncludes.html
Thanks!
Views
Replies
Total Likes
Hi,
in the first case the node metadata located below the parent node is used (so "metadata" is a sibling to the current node), in the second case the node "metadata" below the current node is (a childnode). Depends on your node structure, if there are such nodes.
kind regards,
Jörg
Views
Replies
Total Likes