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
etechcareersetechcareers 

Need a query to give me all objects in sfdc

Hi :

   I wanted to build a dropdown with all the objects in my org... All I need is the list of objects in this dropdown...

Anyone know the SOQL I would write for that?

Thanks

etechcareers

Best Answer chosen by Admin (Salesforce Developers) 
stwdevstwdev

Use Schema.getGlobalDescribe();

 

See the Apex doc for more info.