Parent node using jcr.node
Hi,
How to get the parent node (first parent node with specific primary type ex: cq:Page) for the child node.
Ex:
/content/dam/page(cq:Page)/jcr:content/root/property
Node node = till property.
how to get the cq:page node from property node.
I used node.getParent(); --- that place might vary.
Thanks in Advance,