Skip to content

Experience navigation menu not found

Detection

  • RegExp: Error (.*) The navigation menu `?([^`]+?)`? doesn't exist

Examples

  • Error Partners1 The navigation menu `Default_Navigation` doesn't exist..

Resolution

Site {1} uses navigation menu {2}, whose developer name is not the same in the target org (navigation menus get a suffix in each org).
- Query NavigationLinkSet in the target org to find the developer name of the menu
- Write the name of each org with a text replacement rule (https://sfdx-hardis.cloudity.com/salesforce-devops-config-replacement-rules/), or deploy the NavigationMenu {2} with the site

Comments