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
Vrajesh NayakVrajesh Nayak 

Download Account object fields.

I want to download standard and custom fields with Field labels,API name and data type for account object.How do I do it?
Best Answer chosen by James Loghry
pconpcon
Do you want to do this inside of Salesforce, or are you ok with doing this with an external API?  You can do this with the MetadataAPI [1] or easily with a tool like jsforce [2] CLI interface.  If you want to do it inside of Salesforce, you can do this with the describe calls [3]

[1] http://www.salesforce.com/us/developer/docs/api_meta/Content/customobject.htm
[2] https://jsforce.github.io/
[3] https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_dynamic_describe_objects_understanding.htm

All Answers

pconpcon
Do you want to do this inside of Salesforce, or are you ok with doing this with an external API?  You can do this with the MetadataAPI [1] or easily with a tool like jsforce [2] CLI interface.  If you want to do it inside of Salesforce, you can do this with the describe calls [3]

[1] http://www.salesforce.com/us/developer/docs/api_meta/Content/customobject.htm
[2] https://jsforce.github.io/
[3] https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_dynamic_describe_objects_understanding.htm
This was selected as the best answer
Vijay NagarathinamVijay Nagarathinam
Hi,

You can download the fields with the help of  Force.com Ide and Ant Tool