Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Trouble fetching child pages under pagefield

Avatar

Level 6

How to fetch the child pages under the pagefield? Everytime it's showing the pages under the current page and not the pagefield

2 Replies

Avatar

Community Advisor

Hi @Sanjana12 

 

Can you please elaborate? 

 

 

Avatar

Level 6

I'm trying to fetch the child pages under this filepath but it's showing the pages under the current page which is en. I cannot access childpages of the parentpage from jcr:properties as it has no listChildren method.

 

Screenshot (14).png