+ Start a Discussion

How to get standard field IDs?


Could you help instruct how I could get ids for standard fields, instead of their API names. For example, when you inspect the account name field on a html, the id shows as "acc2". The "acc2" is what I want, but is it possible to retrieve them all in one time? 

Thank you very much!

All Answers

Niraj Kumar 9Niraj Kumar 9

Go to workbench/ Developer console and write down the soql queries.
I am writing Soql Queries based on 
 Select ID, Acc2 from Acoount.
Hope this will help you.

niraj Kumar
Amit VaidyaAmit Vaidya
Hi Stellar,

You can get it by generating a WSDL which will give you a complete details of all objects in your org. including field ID.

To do this, go to Setup->Develop->API and select the "Generate Enterprise WSDL".

Thank you,
Hi Amit Chaudhary 8, Niraj Kumar 9 and Amit Vaidya,
Thank you all for replying, but the answers are not what I exactly want, so I decide to summarize a list as Amit Chaudhary 8 referenced.
Still, thanks a lot!

Best regards,