Skip to content
This repository has been archived by the owner on Jun 13, 2020. It is now read-only.

HierarchyPage Sling Model #78

Open
psaksena opened this issue Jan 6, 2020 · 1 comment
Open

HierarchyPage Sling Model #78

psaksena opened this issue Jan 6, 2020 · 1 comment
Assignees

Comments

@psaksena
Copy link

psaksena commented Jan 6, 2020

Local Environment
Before filing an issue, verify that the prerequisite tools/software are installed:

  • AEM 6.4 + SP2
  • Java 1.8
  • Apache Maven (3.3.9 or newer)
  • Node.js v10+
  • npm 6+

Describe the issue
On changing the "structureDepth" property value to 1 in "/conf/wknd-events/settings/wcm/policies/wknd-events/components/structure/app/default", I get child pages only one level down.

Now if I want to retrieve further child pages of previous child pages, how can i do that.

eg:

Root
. Home
. Articles
> Article 1
> Article 2
> Article 3

On changing depth to 1, i am able to retrieve Home and Articles. Now if i want to get Article 1, Article 2 all in one json, how can i do that?

@godanny86
Copy link
Collaborator

hi @psaksena if you increase the structureDepth property to a value of 2 or 3 then the HiearchyPage impl will collect more child pages.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants