If I have a component and I want to embed another component inside of it with a include statement, then there is no slingResourceType property created for the embedded node. Is there something we can do on the include call to force the embedded node to have a slingResourceType property created?
Solved! Go to Solution.
Views
Replies
Total Likes
It should essentially have the resourceType reference if its a include. Can you share the screenshot of your jcr:content and the code where you are including it ?
Views
Replies
Total Likes
Hi Rameen,
Let's say you include component B in A. When you create an new page, you will be able to see component A and B inside it. But there won't be any node created. for these Node structure for this page till now will be
test-page/jcr:content
Now, once you author component A and B, the node structure will be updated with authored content as well as sling:resourceType
thanks
Views
Replies
Total Likes
It should essentially have the resourceType reference if its a include. Can you share the screenshot of your jcr:content and the code where you are including it ?
Views
Replies
Total Likes
Views
Like
Replies