Skip to main content
GK-007
Level 9
Dec 9, 2016 9:55 AM UTC
Solved

Is there way to know nodes without jcr:content node?

Hi All,

Is there any way/tool to know the JCR nodes without jcr:content?

Please help me!!!

Thanks,

Kishore

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kautuk_sahni
kautuk_sahniAccepted solution
Level 9
Dec 12, 2016 8:00 AM UTC

Hi 

Please have a look at these posts:- 

Link:-http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__aswh-hello_can_someon.html

// How to find nodes without specific child node? How can I find nodes without specific child node (e.g. jcr:content)?

 

Link:- http://stackoverflow.com/questions/25019693/cq-5-query-builder-to-get-list-of-pages-without-jcrcontent-node

// to get list of pages without jcr:content node

 

I hope this would help you.

~kautuk

Kautuk Sahni

17 replies

Adobe Employee
Dec 9, 2016 1:19 PM UTC

Not sure I understand the question, what are you trying to achieve, why do you want to do this?

Regards,

Opkar

Translate
smacdonald2008
Level 10
Dec 9, 2016 1:43 PM UTC

Please provide more details. 

Translate
GK-007
GK-007Author
Level 9
Dec 9, 2016 2:39 PM UTC

Recently we have upgraded application from AEM 6.0  to AEM 6.2.

We see some of the nodes without jcr:content node.

Would like to know if there is any way to know the nodes without any jcr:content.

Thanks,

Kishore

Translate
smacdonald2008
Level 10
Dec 9, 2016 2:45 PM UTC

Is this specific to under a path like /content/<yoursite>? 

Or are you looking at this across the entire JCR structure? 

Translate
GK-007
GK-007Author
Level 9
Dec 9, 2016 5:21 PM UTC

smacdonald2008 wrote...

Is this specific to under a path like /content/<yoursite>? 

Or are you looking at this across the entire JCR structure? 

 

Looking for entire JCR structure.

Translate
Level 2
Dec 10, 2016 5:03 AM UTC

Are you seeing jcr:content nodes missing for your pages and assets ?

Translate
GK-007
GK-007Author
Level 9
Dec 10, 2016 1:42 PM UTC

I have seen it.

Wants to know if there are still any such nodes without jcr:content node in our application.

Looking for a way to know these kind of nodes.

-Kishore

Translate
kautuk_sahni
kautuk_sahniAccepted solution
Level 9
Dec 12, 2016 8:00 AM UTC

Hi 

Please have a look at these posts:- 

Link:-http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__aswh-hello_can_someon.html

// How to find nodes without specific child node? How can I find nodes without specific child node (e.g. jcr:content)?

 

Link:- http://stackoverflow.com/questions/25019693/cq-5-query-builder-to-get-list-of-pages-without-jcrcontent-node

// to get list of pages without jcr:content node

 

I hope this would help you.

~kautuk

Translate
Kautuk Sahni
Level 2
Jun 7, 2018 6:23 PM UTC

Hi Kautukashni,

I had tried with the below mentioned link but it is not working.

Link:- http://stackoverflow.com/questions/25019693/cq-5-query-builder-to-get-list-of-pages-withou t-jcrcontent-node

// to get list of pages without jcr:content node

And my requirment was to remove the jcr:content from the Dam Assets, Please find my Query below.

Jcr Query :

path=/content/dam

type=dam:Assest

child.name=jcr:content
child.operator=not_exists
p.limit=-1

Translate
Level 2
Jun 7, 2018 6:24 PM UTC

Please help me on this.

Translate