Newer Version Available
Find Field Names
After you have set up your client, you can build client applications that use the Bulk API. Use the following sample to
create a client application. Each section steps through part of the code. The complete sample is
included at the end.
You can:
- Use the describeSObjects() call in the SOAP API Developer 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 or JSON file. (To find the API Name, click the field name.)