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 a field name for a standard object, such as Account:
- From Setup, click .
- Click the Field Label for a field.
Use the Field Name value as the field column header in your CSV file.
To find a field name for a custom object:
- From Setup, click .
- Click the Label for a custom object.
- Click the Field Label for a field.
Use the API Name value as the field column header in a CSV file or the field name identifier in an XML file.