I Created a field
Web_Security_Scove in an environment and i am trying to deploy it in to another environment.
My Retrieve package:
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
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"> <fields> <fullName>Web_Security_Scove__c</fullName> <externalId>false</externalId> <label>Web_Security_Scove</label> <length>211</length> <required>false</required> <trackFeedHistory>false</trackFeedHistory> <type>Text</type> <unique>false</unique> </fields> </CustomObject>
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"> <types> <members>Lead</members> <type>CustomObject</type> </types> <version>37.0</version> </Package>