Newer Version Available
Finding Field Names
Whether you're using CSV or XML data files, you need the names of the object fields that you want to update for the records in your data file. All the records in a data file must be for the same object. There are a few different ways to determine the field names for an object. You can:
- Use the describeSObjects() call in the SOAP API Developer's Guide.
- Use Salesforce Setup.
- Look up the object in Object Reference, which lists the field names, types, and descriptions by object.
Use Salesforce Setup
To find an object’s field name:
- From the object’s management settings, go to the fields area.
- Click the Field Label for a field.
For a standard field, use the Field Name value as the field column header in your CSV file.
For a custom field, use the API Name value as the field column header in a CSV file or the field name identifier in an XML file. (To find the API Name, click the field name.)