I created some pages with hierarchy like
- Home page
- Men
- Watches
- Smart watch
- Analog watch
- Shoes
- Sports shoes
- Formal shoes
- Watches
- Women
- Watches
- Smart watch
- Analog watch
- Shoes
- Sports shoes
- Formal shoes
- Watches
- Men
How can I fetch current page, that is, 'Home page' into my sling model? Also how to get the childPages i.e 'Men' and 'Women', grandChildPages i.e 'Watches' and 'shoes' of both childPages, and grandGrandChildPages i.e 'Smart watch', 'Analog Watch', 'Sports shoes' and 'Formal shoes' in same sling model?