November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Hi Jon.
You can create a PageReference property on the start page and then select your menu page in it and based on that you can get the descendants of that page by this way you don't need to worry about page alteration in the future.
Hi,
I have a site menu structure that looks something like this –
Each menu item contains a page reference to a page in the page tree.
I’m trying find the best way to retrieve the descendants for Sub menu 2.
I discovered I can get the items like so –
However, I wanted to see if there is a better way that I could find these items rather than directly querying the parent menu item by Name – as this could be changed in the CMS and then the above code would break.
The pages where I would like to use these results would be descendants of the page referenced in Sub Menu 2 (so wondered if there was any clever way here of getting at the information).
Many thanks,
Jon.