1

I want to deploy some traslations made via workbench , i made the following XML file to retrieve the modifications (the field is a picklist called Type under Event object), but it does not work, the objectTranslations file retrieved is empty knowing that the translations in spain exist in workbench !!! do you have any idea how to make it work ?

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

  <types>
        <members>Event.Type</members>
        <name>CustomField</name>
  </types>
  <types>
      <members>Event-es</members>
      <name>CustomObjectTranslation</name>
  </types>
  <version>33.0</version>
</Package>
  • What translations are you trying to retrieve? The picklist values of the field Type on the Event object right? – Lieven Juwet Dec 5 '16 at 15:22
  • yes that is exactly what a wanna do – Merabti Ibrahim Dec 5 '16 at 15:25
  • it should be in ObjectTranslations folder, not file – kurunve Dec 5 '16 at 16:01
  • Yes, the folder is there, but the file is empty – Merabti Ibrahim Dec 5 '16 at 16:02
1

I reproduced your issue in a developer org.

It failed indeed using your above package.xml.

I then started fiddling and found that upgrading the API version in your package xml resolves the issue. This is the package xml I used:

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>Event.Type</members>
        <name>CustomField</name>
    </types>    
    <types>
       <members>Event-es</members>
        <name>CustomObjectTranslation</name>
    </types>
    <version>37.0</version>
</Package>

Not sure why updating the API version works. I hope this works for you.

| improve this answer | |
  • i will try it and keep you updated – Merabti Ibrahim Dec 5 '16 at 16:09
  • Yes, it works. thank you saved me a lot of time and efforts – Merabti Ibrahim Dec 5 '16 at 16:13

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.