I Created a field Web_Security_Scove in an environment and i am trying to deploy it in to another environment.

My Retrieve package:

enter image description here

My Package.xml:

enter image description here

I am getting the following error after deployment: enter image description here

Please suggest.

  • Since you've mentioned package.xml, are you using the Salesforce Migration Tool (i.e. ANT) to do your deployment? If so, are you sure that your target in build.xml is being pointed to the package.xml file that you've retrieved? – Derek F Dec 1 '16 at 14:40
  • No I am using workbench.Here i got extract in zipped folder.One folder with name Object and attched fist xml and other is package.xml – dem Dec 1 '16 at 14:49

Probably is not the case, but I cannot see the "__c" suffix in the CustomObject file, fullName node.

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

In the other hand if the CustomField package.xml doesn't work (and I wonder why Lead is written without capital L), try using a CustomObject package:

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

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.