+ Start a Discussion
sfdcksfdck 

how many number of standard object available in salesforce

Hi,

    Can any one let me know that total how many standard objects are available in salesforce ?


    Response is highly Appriciated.
Sonam_SFDCSonam_SFDC
Please go to the link below to get the list of all Standard Salesforce objects in Salesforce:
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_list.htm
Ted Husted NUTed Husted NU
The field guide details all the standard objects and fields. 

* http://na7.salesforce.com/help/pdfs/en/salesforce_field_names_reference.pdf

There's a shorter list of the standard objects you are more likely to use in online help. 

* http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_custom_objects.htm

The number of custom objects you can add varies by edition, as set out in the Limits guide. 

* http://na10.salesforce.com/help/pdfs/en/salesforce_app_limits_cheatsheet.pdf

HTH, Ted.

sfdcksfdck
Hi,

    Thanks @sonam, Ted for reply actually I was trying to know the count of the total standard objects(tables) in salesforce
Raghavendra Reddy .DRaghavendra Reddy .D
Hi  sfdck

This is helpfull to you

Total number of standard objects is "399"
https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_list.htm

Thanks,
D.Raghavendra Reddy.

Sam KamenskySam Kamensky
Using Raghavendra Reddy's source 

( https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_list.htm ) there are now 489 standard objects.
Amogh GhodkeAmogh Ghodke
I have an exact count of Standard Objects in Salesforce. The Total number of Salesforce Standard Objects is 649. This contains all Share (like AccountShare etc.), Tag (like CampaignTag etc.), TeamMember(like AccountTeamMember​,CaseTeamMember etc.)
Edison Raj 9Edison Raj 9
Hello Amogh,
                      Starting from Raghavendra's answer as 399 in year 2014, I think the total count of the number of Standard Objects keeps growing. So, your answer is 649. Can you please write as how did you able to count the total number of Objects ? like select * from tab where obj_name like ""table" in any development environment . 
https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_list.htm

If I see the standard objects in Salesforce Classic, such as Account, Lead,...etc..., I can see only a less number of objects in Service / Sales / Marketing Cloud . So, it is possible to know all the names of Objects ? and how can I list all the fields under each and every Standard object ?
any apex code or SOQL available ?
Pls reply
 
Amogh Ghodke 3Amogh Ghodke 3
Hello Edison,
We can definitely see all the names of objects. You can use below code to get names of all STANDARD OBJECTS of your environament. You can write this below code on button click and display stdObjectNames list on VF page.

List<String> stdObjectNames = new List<String>();
for(Schema.SObjectType type : Schema.getGlobalDescribe().values()){
    
    String sobjName = String.valueOf(type);
     if(!sobjName.Contains('__c'))
         stdObjectNames.add(sobjName);
    system.debug('' + sobjName);
}
system.debug('List of Standard objects ' + stdObjectNames);

Now you can use below code to get all fields of object using above code 

schemaMap.get(sobjName).getDescribe().fields.getMap();

As well as you can use Workbench https://workbench.developerforce.com/login.php to explore all object ,field details of your environment.


 
Edison Raj 9Edison Raj 9
Hi Amogh,
                 Thanks to you so much for the information. Of Course, the code works fine in the Developer Console in the Execution Log when I executed the code in "Anonymous Window" showing all the details of the Standard and Custom Objects. I did not even created a button in Front-end GUI with VF page
                Actually, I thought of creating a Ligntning component page with a custom tab loaded where GUI Compinents would be 2 buttons as "Standard Object" and "Custom Object" with totally 4 Text Area (Automatically creating the scroll bar) under 2 buttons. 2 Text area under each buttons. By clicking the "Standard Object" button, it should display all the Standard Objects and the button "Custom Object" on clicking should display the list of custom objects. And subsequently, clicking each object should display all the respective fields (Almost same like displayed in the workbench format)
                I will try for this and if any help required, let me ask you