Expand my Community achievements bar.

SOLVED

Best approach to retrieve all nodes in current page which matches a specific resource type

Avatar

Level 4

Hi All,

What is the best and most efficient way in osgi code to retrieve all matching nodes(any depth) in current page jcr:content that has resource type ="/abc/test". Any thoughts?

Thanks,

Rajeev

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor

Hi Rajeev,

Please check

Sling Query vs JCR

Resource Streams in Apache Sling



Arun Patidar