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
jean-philippe lingrand 9jean-philippe lingrand 9 

Have the list of object filds by API

Hello,

I would like to have all the fields available in a Salesforce object, Standards and Custom fields merged would be perfect.

Can someone know how to get that?

Thank you
Admissions EclipseAdmissions Eclipse
HI 

To get the api name of a objet simply go to setup type in name of object ie Opportunity and click on fields. Then simply copy and paste into excel 

User-added image

Or download an app which enables you to do this much more easily.

EasyDescribe is a free appexchange app that lets you grab the metadata you are looking for.

DESCRIPTION
EasyDescribe is a free Force.com developer tool to view and extract object metadata details. Don't waste time clicking through multiple screens to lookup recordtypes, field types, picklists, and other metadata. EasyDescribe it and get everything at once!
Lookup object metadata properties, recordtypes, child relationships, and field details!
Extract object metadata or picklist values to Excel with the click of a button!
Link below.
https://appexchange.salesforce.com/listingDetail?listingId=a0N300000018leZEAQ


 
jean-philippe lingrand 9jean-philippe lingrand 9
Hello! and Thank you for your answer. I missed to mention that we would like to have those meta data by API. Thank you!
SFDC Coder 1SFDC Coder 1
Hello,

Hope below link will help you to complete your requirement.
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_intro.htm

P.S. Mark it Best Answer if It helps you.