I'm using Community and I have added few objects in the navigation bar as you can see in the screen below and my question is how to get the list of navigation bar (Opportunity/Leads...) using APEX/SOQL/REST Api in Community?

enter image description here


1 Answer 1

SELECT Label, NavigationLinkSetId, Target FROM NavigationMenuItem

NavigationMenuItem: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_navigationmenuitem.htm

NavigationMenuItemLocalization: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_navigationmenuitemlocalization.htm

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.