How to get url of all child,grand child pages using root path? | AEM Community Blog Seeding

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,200 likes

Total Posts

6,394 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,200 likes

Total Posts

6,394 posts

Correct reply

1,147 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

26-05-2020

BlogImage.jpg

How to get url of all child,grand child pages using root path? by howtoaem Blog

Abstract

I have a path of a root page and I want to retrieve all the child pages of root page and grandchild and grandchild of root page. My structure is like this rootPage | | |---------childPage | | |---------grandChildPage | | | |----------------------grandGrandChildPages So I want the path of all these pages. How can I get this? currently, I'm using this adminSession = repository.loginAdministrative(

Read Full Blog

How to get url of all child,grand child pages using root path?

Q&A

Please use this thread to ask the related questions.