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
gaurav.dgaurav.d 

how to list up standard objects

how to list up standard objects of sales force through java code????

sebcossebcos

Hi,

please find documentation and sample code here:

http://www.salesforce.com/us/developer/docs/api/index_Left.htm#StartTopic=Content/sforce_api_calls_describeglobal.htm

 

Also please note that there is a boolean property of describesobjectresult called "custom" which tells you if the object is custom or not:

http://www.salesforce.com/us/developer/docs/api/index_Left.htm#StartTopic=Content/sforce_api_calls_describesobjects_describesobjectresult.htm