The community members are discussing a way to automatically generate a site menu by retrieving a list of all pages in the project. The goal is to have a variable or mechanism that provides the page titles and URLs, so that the menu can be populated without manually adding each entry. Some suggestions include using a system variable to expose page data, extending the existing sitemap resource, or creating a separate resource with a nested tree structure to handle nested navigation. The community members agree this would be a helpful feature, and plan to create an issue to further discuss the implementation.
Was building a site menu and looking to fill out the entries in that automatically. Is there a way to get a variable, or through some mechanism, for all the pages that are in the project? And then I can add the title to the link text and the URL for clicking it. Would also be ideal if I could filter on those - so I can add a variable on some pages to hide them from the menu, if they're a work in progress etc.
I see what I thought was an upload icon is actually a folder as first thought, that would be even easier - basic way to iterate over the pages in that folder
I think we discussed a while ago internally that we could expose pages data under system variable so you can use a collection component to iterate over it and render those lists
@TrySound do you remember if there was consensus on it?