You need to sign in to do that
Don't have an account?

Force.com IDE error with custom object
I created a custom object and created a lookup relationship to Contact. I then pulled it via the Force.com IDE (12.0.2.200803272100). I then tried to modify it but always got this error on the Contact lookup field:
The error is thrown here:
Since the file was unaltered from the way Salesforce.com created it, I'm not sure what to do. I appear to have the latest Force.com IDE.
Steve
Code:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'relationshipLabel'. One of '{"http://soap.sforce.com/2006/04/metadata":relationshipName, "http://soap.sforce.com/ 2006/04/metadata":required, "http://soap.sforce.com/2006/04/metadata":restrictedAdminField, "http://soap.sforce.com/2006/04/metadata":scale, "http://soap.sforce.com/2006/04/ metadata":startingNumber, "http://soap.sforce.com/2006/04/metadata":summarizedField, "http:// soap.sforce.com/2006/04/metadata":summaryFilterItems, "http://soap.sforce.com/2006/04/ metadata":summaryForeignKey, "http://soap.sforce.com/2006/04/metadata":summaryOperation, "http://soap.sforce.com/2006/04/metadata":trueValueIndexed, "http://soap.sforce.com/2006/04/ metadata":type}' is expected.
The error is thrown here:
Code:
<fields> <fullName>Contact__c</fullName> <inlineHelpText>Evaluator</inlineHelpText> <label>Contact</label> <referenceTo>Contact</referenceTo> <relationshipLabel>Evaluations</relationshipLabel> <relationshipName>Evaluations</relationshipName> <type>Lookup</type> </fields>
Steve
What endpoint URL are you using (including API version #)? Are you connecting to an organization that has been upgraded to Summer '08, or are you still working with Spring '08?
The Force.com IDE v12.0.2 must be used with a version 12 endpoint, regardless of whether you're connecting to Spring '08 or Summer '08. If you point it to a version 13 endpoint, its behavior will be unpredictable.
Jon
I'm going to this end point: https://www.salesforce.com/services/Soap/u/12.0 in a production org.
Steve