I renamed a custom object tab name from 'ABC' to 'XYZ' in Customize > Tab Names and Labels > Edit. How can i deploy this change through eclipse using package.xml.


You will need to use the objectTranslations. There are multiple files in this folder based on languages eg: for Account in english there is Account-en_US.objectTranslation and so on ... . Find the file that has your changes and deploy it


You can deploy the custom tabs through package.xml in the following way:

    <members>API name of the Object</members>

and include the ObjectName.tab file also

  • but i changed the tab name not in the object level, changed in Tab Names and Labels in customize. I couldn't see any diff in existing tab and current tab. – Vijay Kumar Jul 14 '17 at 12:51
  • We have a .tab file also for custom tabs. Add that file also. – Ankita Jul 14 '17 at 12:55

The question is how to rename the tab. The package.xml file cannot do this. Leave the file name for the tab the same. Retrieve the metadata for the tab, change the label field, and then deploy the tab. This will change the label. The XML will look something like this, below. Note the "label" element.

<?xml version="1.0" encoding="UTF-8"?>
<CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
    <motif>Custom73: Highway Sign</motif>

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.