Salesforce supports various types of Objects like Standard Object, Custom Objects, External Objects, Big Objects and platform events, etc. Sometimes, our organization data did not fit with Standard. Object so to fulfill our requirements, we need to extend or customize some objects. In Salesforce, Objects are considered as a database table, fields as columns, and records as rows. Objects help to build your own data model in Salesforce. In the article “Salesforce Objects: Difference between Standard and Custom Objects in Salesforce”, we will discuss the two most important Objects e.g. Standard Objects and Custom Objects, and how to create Custom Objects, the Difference between Standard and Custom Objects, and the types of custom fields that an object supports.
What is an Object in Salesforce?
Objects are defined as the database tables used to store and manipulate organization-specific data. All objects in Salesforce are interconnected to another object such as an Account object may contain zero or more opportunities. This means the Account object is somehow connected with the Opportunity object.
Examples: Standard Object, Custom Objects, External Objects, Big Objects, and platform events.
Types of Objects in Salesforce
As per our scope, we will only focus on the two most important types of Objects in Salesforce. These are as follows:
- Standard Objects
- Custom Objects
Standard Objects are already provided by Salesforce itself. You don’t need to create these objects on the Salesforce.com platform.
All business-related objects included in the Standard Objects category.
Examples: Account, contact, opportunities, leads, products, cases, users, and report and dashboards, etc.
Custom Objects are created and customize externally by users to store specific and sensitive data of their organization.
Custom Objects treats like containers that are used to store data as well as also enable us to special functions. These objects are the core of any application that provides a model to share data.
How to create a Custom Object?
There are the following steps to create a custom object in Salesforce;
- Log in to Salesforce account
- Click on the Gear icon and launch the Setup menu.
- Click the Object Manager tab
- Here you will find Standard objects created by Salesforce. To create a new custom object click to the Create tab and select Custom Object from the drop-down list.
- Enter the property name in the Label field such as Wallet, Transactions, etc.
- Enter the plural form of the above-entered label in the Plural Label field for e.g. Wallets and Transactions, etc.
- Object Name will be automatically filled.
- Enter some description of the object.
- Record Name and Data Type will also be automatically filled.
- You can choose Optional features such as Allow reports, activities, track field history and allow chatter groups, etc and if not then leave it blank.
- Now scroll down to the bottom of your page and click checkbox Launch New Custom Tab Wizard after saving this custom object.
- Click Save, now it will redirect you to a new custom object tab.
- Click the Tab Style field and select any desired tab style icon from the list.
This icon will display in the User Interface for this object. However, you can also create your own tab style also.
- Click Next, Next, and then save.
We have created our own custom object “Wallet” now further; we are going to add fields in the above-created objects.