Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

AEM

Avatar

Level 2

Hi i have a question. need a solution asap

  • create a drag and drop component where author can select the page path: (a)-it should display all child pages level by level(child pages should be shown recursively)??
1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Community Advisor

Hi,

It can be done with the help of sightly template.

1. Create WCMUsePojo class to return child page list for given page.

2. Create HTL template to loop through for child page

3. Create list and call above template to get child list.

4. Inside template again call Java class to get child page list of child page

This will create recursive list.

E.g. if my input is /content/AEM63App

Screenshot 2018-10-14 at 3.58.28 PM.png

Arun Patidar

AEM LinksLinkedIn

Lösung in ursprünglichem Beitrag anzeigen

1 Antwort

Avatar

Korrekte Antwort von
Community Advisor

Hi,

It can be done with the help of sightly template.

1. Create WCMUsePojo class to return child page list for given page.

2. Create HTL template to loop through for child page

3. Create list and call above template to get child list.

4. Inside template again call Java class to get child page list of child page

This will create recursive list.

E.g. if my input is /content/AEM63App

Screenshot 2018-10-14 at 3.58.28 PM.png

Arun Patidar

AEM LinksLinkedIn