I am in the process of building a custom navigation menu as a Lightning Web Component for my community.

I know that in Aura Components one could use forceCommunity:navigationMenuBase, which provides data about the community's navigation menu items.

How could one gather navigation menu data for the community the when writing an LWC?

The documentation at https://developer.salesforce.com/docs/component-library/bundle/forceCommunity:navigationMenuBase/documentation does not seem to indicate there is a direct equivalent for LWCs.

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.