Does anyone know which metadata object stores translations for the NavigationMenu component? Specifically, I'm using a TileMenu component in the Community Builder. The help page says to use Translation Workbench for Navigation Menu Item. The translation works fine, I just need to deploy it.

I've checked the following metadata objects and can't find the translation: NavigationMenu, objectTranslations, ExperienceBundle, Translations.

I've also exported Language Content from the Community Builder > Setup > Languages and it wasn't there either.

  • Couldn't find it when testing either. There's no reference to NavigationMenu in translations and I'm not aware of any special metdadata types like CustomObjectTranslation that would hold this. The TileMenu does show up in ExperienceBundle, but there's no reference to translations within it (though it does contain languages enabled). Mar 19 '20 at 1:48

@David Cheng, please try the below based on the MetadataService class from Andrew Fawcett.

How I can retrive "Community" metadata in Salesforce

NetworkBranding is a method in MetadataService.cls, so i searched for NavigationMenu and found a service method called as NavigationMenuItem. Check in the below git file link, line 11238.


So your package.xml to retrieve/deploy should be:

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">

Let me know if it helps!

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.