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

Name field (of data type "Name") in Contacts standard object
I'm trying to use the Salesforce IDE plug-in with Eclipse to transfer a project from a production organization to a Developer workspace. I pulled the necessary components from the production organization to my PC, but the attempt to deploy it to my Developer workspace failed. Most of the errors are related to the Name standard field of the Contacts standard object.
I have to transfer Contacts because of the customizations done on it. Contacts has a standard field "Name", which is of data type Name. It looks like this:
I cannot find any documentation of this data type (if only because "Name" is so common that I get a million hits), but as seen above it appears to be a structure with multiple fields. The error messages I get all have to do with not finding the "Middle Name" field on the deployment destination.Sure enough, I went to the GUI in my Developer account, examined the Contacts object, and the Name structure does not include a Middle Name field.
Why this discrepancy in a standard object between the two environments? How can I get around it? BTW, we have custom objects and fields that explicitly reference the Middle Name field, so I would get errors even if I did not try to transfer the customized Contacts object.
I have to transfer Contacts because of the customizations done on it. Contacts has a standard field "Name", which is of data type Name. It looks like this:
I cannot find any documentation of this data type (if only because "Name" is so common that I get a million hits), but as seen above it appears to be a structure with multiple fields. The error messages I get all have to do with not finding the "Middle Name" field on the deployment destination.Sure enough, I went to the GUI in my Developer account, examined the Contacts object, and the Name structure does not include a Middle Name field.
Why this discrepancy in a standard object between the two environments? How can I get around it? BTW, we have custom objects and fields that explicitly reference the Middle Name field, so I would get errors even if I did not try to transfer the customized Contacts object.
All Answers
Also, I just checked and it looks like "Middlename" and "Suffix" are marked as "Beta" for the Contact Name field here: https://help.salesforce.com/apex/HTViewHelpDoc?id=contacts_fields.htm&language=en (https://help.salesforce.com/apex/HTViewHelpDoc?id=contacts_fields.htm&language=en).
That leads me to believe, Salesforce has added these fields recently, and perhaps it's part your developer org, but not part of the org your deploying to. One suggestion there is to go into the org you're deploying this to, and look for any critical updates (Setup->App Setup->Critical Updates or do a quick search for Critical Updates) that may turn the Middlename and Suffix fields on in your Contact records.