Custom Objects in Salesforce are those created by Salesforce user and the API name is suffixed with __C. In this Salesforce tutorial, we are going to create Salesforce custom object called “Pharma product”.
What are Salesforce Custom Objects?
Like relational Database, Data is stored in Tables which has number of Rows and columns. Force.com Databases uses Objects to store Data. So what is an Object ?
What is an Object?
Every object will have a field and a record. Force.com database is like a relational database table which stores a certain type of information in its field and records. In Salesforce Objects, Fields are corresponded as Columns and records are corresponded as Rows.
Different Types of Objects in Salesforce?
In Salesforce, Objects are of two they are Standard Objects and Custom Objects.
In Salesforce, Standard Objects are the one which are created by Salesforce.com by default. Example:- Chatters, campaign, Leads, Contacts, Opportunities and so on.
In Salesforce, Custom objects are those which are created by Salesforce user and the API name is suffixed with __C.
In Salesforce we find everything in the form of component. When we talk about components in salesforce we have to types of components they are
|Standard Component||Custom Component|
|Available in Salesforce by default||Created by User in Salesforce.com|
|Cannot be created||Can be created|
|Can be viewed||Can be viewed|
|Can be modified but to a certain extent||Can be modified to any extent.|
|Standard Components can not be deleted||Custom components can be deleted.|
|Ex:- Report, Object, Field, Vf pages, Workflow Rules etc.|
Learn how to create Salesforce custom object
Custom objects are the new objects which is created to store some unique information to our organisation. Now let us see how to create Salesforce Custom Objects. To create Salesforce custom object, navigate to Setup | Build | Create | Objects.
When we click on Objects a new page will be opened and click on new custom object as shown below.
Now let us create new Salesforce custom object. Enter Label and Plural name that you want to give for your custom object. Enter Description for every component that you create in Salesforce.
When creating custom objects in Salesforce we come across with record name and the data type. Once we created custom objects and fields we will talk about record name and data type. And finally click on save button.
What is object definition page
Object definition page defines the object. All the information regarding the object will be accessed in Object defined page.
Example:- Singular name, Plural name, Object name, API name, Created by, modified by and so on.