function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Siyuan GuSiyuan Gu 

where can I find the contact column names?

I want to user the bulk api to get the contact information. Where can I find the column names in the contact table?
ANUTEJANUTEJ (Salesforce Developers) 
Hi Siyuan,

If I get the question right and if you are trying to get the API name for the columns for contact object you can check them via setup under that particular object and you could also get using the package.xml for that particular object, that are present in below link:


I hope this helps and in case if this comes handy can you please choose this as best answer so that it can be used by others in the fututre.

shaik murthujavalishaik murthujavali
Use below code.
string obj = 'Account';
SObjectType objToken = Schema.getGlobalDescribe().get(obj); 
DescribeSObjectResult objDef = objToken.getDescribe();
Map<String, SObjectField> fields = objDef.fields.getMap();