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
NBlasgenNBlasgen 

Getting list of Standard Objects & Custom Objects via API

I'm trying to retrieve a list of Standard & Custom Objects to display to the user. Since this is a 3rd party integration, I need to somehow get this list from the API or Meta API. Does anyone have any ideas on how one might get that list? More so, I'd like to know the mapping (such as 00Q is Lead). I'm looking for something like DescribeSObject but that would return an object list rather than field list.
Best Answer chosen by Admin (Salesforce Developers) 
NBlasgenNBlasgen

I guess I didn't know this.  DescribeGlobal is part of the regular API and doesn't require the Metadata API.  I've simply updated my Partner WSDL.

 

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_describeglobal.htm#topic-title

All Answers

NBlasgenNBlasgen

I guess I didn't know this.  DescribeGlobal is part of the regular API and doesn't require the Metadata API.  I've simply updated my Partner WSDL.

 

http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_describeglobal.htm#topic-title

This was selected as the best answer
Shashikant SharmaShashikant Sharma

Yes I also know DescribeGlobal is part of the regular API and doesn't require the Metadata API and I was not suggsting you it that way either. I could not get your problem correctly. But good to know you have found a solution, I will definitely see the URL that you have add in ur solution.