Node path which has cq:isCancelledForChildren as true in [AEM6.3] | Community
Skip to main content
srinivas_chann1
Level 7
Mar 31, 2020 6:29 PM UTC
Solved

Node path which has cq:isCancelledForChildren as true in [AEM6.3]

Hi,

 

I am using AEM6.3

Could some help me with an query on a particular page to get all the node paths that will show up for nodes having the property as cq:isCancelledForChildren": true  under a page

 

This i would to get details as which all nodes have inheritance broken.

 

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
Apr 1, 2020 1:24 PM UTC

Hi,

 

Try the below in your instance querydebug console. (http://localhost:4502/libs/cq/search/content/querydebug.html)

 

path=/content/we-retail (your project content path)
type=nt:unstructured
property=cq:isCancelledForChildren
property.value=true

3 replies

Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
Apr 1, 2020 1:24 PM UTC

Hi,

 

Try the below in your instance querydebug console. (http://localhost:4502/libs/cq/search/content/querydebug.html)

 

path=/content/we-retail (your project content path)
type=nt:unstructured
property=cq:isCancelledForChildren
property.value=true

Translate
Employee
Mar 31, 2020 8:00 PM UTC

SELECT * FROM [cq:Page] AS page WHERE page.[jcr:content/cq:isCancelledForChildren] = true and ISDESCENDANTNODE([/content/YOUR-SITE])

Translate
srinivas_chann1
Level 7
Apr 1, 2020 8:47 AM UTC

Hi Marc,

Thanks for the inputs .I want to know if we can find property anywhere under child nodes of any page  with have the property cq:isCancelledForChildren .When i applied the above query it is not fetching results I am assuming it looks only under jcr:content node

 

Thanks

Translate