Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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

AEM LinksLinkedIn