5

I would like to create a custom component to use in Experience Builder, and this component will allow a configurable navigation to another page. I would like to use a dynamic picklist with Apex to get the list of all available pages for the Community we're currently on.

I couldn't find any way to get the list of these pages, is there a table that can be queried to get this list of pages/routes ?

I noticed that when editing a NavigationMenu, the list is available but from a private and undocumented API:

/sfsites/sfservice?Method=GetDevelopmentRoutes&siteGuid=4ea01398-f402-44b2-8a41-501673acb466&docGuid=0e43b2a2-3a6e-47eb-cdfd-dae4e589b3e1&siteType=ChatterNetworkPicasso&iscontrib=true&isbuilder=true

I couldn't find any official API or table to get this.

enter image description here

1
  • I think you have to use ExperienceBundle in the Metadata API, specifically the views section. I'm not sure how to access the views data programmatically, though. Mar 10 at 16:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.