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, or the sObject Describe resource in the REST 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 Field names
To find an object’s field name in Salesforce Setup:
- From Setup, in the Quick Find box, enter Object Manager. Click Object Manager.
- Click on the object in the list.
- From the object’s management settings, click on Fields & Relationships.
- Click the field under Field Label to find the field name.
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.)