What is a Data Model?

A Data model is defined as the architectural structured way of storing data in an application. Salesforce platform provides with a standard model which allows you to customize the data models for custom functionality. 

The standard data model is configured and accessed in the salesforce area (Org) under the Setup→ “Customize”. If you want to add a custom field to the standard data model, you can add it by customizing the data model. By the custom data model creation, you are creating a place to source your data that does not exist before.

The term data model is mentioned, as to create a separation between the data model, UI, and Business logic. Salesforce provides the UI, and Business logic whenever you create a data model, which means a new object or table in the Salesforce Org. The 3 components UI, Data Model, and business logic are referred to MVC as the above 3 components are the underlying architecture that Salesforce uses.

Data Modeling: Give your data a structure - fields, objects, and relationships in Salesforce Org.

1. How To Create An Object or Table In Salesforce?

Object: Object is nothing but a table in the DataBase. In Salesforce, the table is defined as:

  • Table >> “Object
  • Row >> “Record
  • Column >> “Field

Note: Objects do not have direct access as “Table” structures in .Net, Java, Oracle, etc. Due to security reasons, Salesforce does not provide direct access to the DataBase.

After logging In >> Go To “Setup” >> Build >> Create >> Objects >> click on “New Custom Object”.

Subscribe to our youtube channel to get new updates..!


Fill in the red coloured Fields or Labels in the screen as shown below in the figure.

Label: “Naukri.com JobForm” ( As our client is Naukri.com as discussed in the earlier topics)
Plural Label:Naukri.com JobForms” ( It is displayed in the Tab Form on the screen, So it should be named in the [“Plural Format” - which has multiple entities]).

New Custom Object

As shown in the below figure. Select “Auto Number” from the “Data Type”(Field) and fill the below fields accordingly.

Display Format: Form-(0), (The number format for identification purpose of individual record).
Starting Number: 1, ( Numbering should start from this ‘1’)

Create Objects

Reach to the bottom of the page and in “Object Creation Options” - Section - Select >> “Launch New Custom Tab Wizard after saving this custom object” >> For “Tab” Creation and Hit the “Save” >> Button.

Tab Structure

With the selection of the above “New Custom Wizard”- Button, we need to continue with 3 more steps for custom look of the “Tab” as shown in the figure.

New Custom Object Tab

Step1: In the step no 1, select only “colour/style” as shown in the figure.
New Custom Object Tab
After colour selection >> click on “Next” button.
Step2: In this step we have 2 options for visibility of the “Tab” for profiles.
visibility to all profiles
If we select the first option, we can customize according to our requirement which applies for the whole “Users or Profiles” so that customised “Tab” is available.
Add to Profiles
If we go for, the second option it applies for individual “Profiles or Users”. All the below gets enabled, you can select individually for each user for the availability of the tabs or select it under the “+” symbol available on the Tab Section.
Note: “+”, a the top right besides “Home” defines the “All Tabs”. Based on the selection of “Default On or Default Off” option, the tab will be available to that particular User or Profile.
All Tabs” defines each and every tab in your organisation.
If we go with 3rd option “Tab Hidden”, it will be never visible to the User or Profile.
Step3: “Add to custom apps” >> Choose the custom app for visibility. (eg - Naukri.com App)  >> select “Save” to proceed.
Custom App


Checkout SalesForce Tutorial

In Which Scenario Is The Tab Hidden Used?

Tab Hidden” is used when the profile or user is not be able to access the information, but should have view only access. In this scenario, we can use “Tab Hidden” option.
New Custom Object Tab
Let us proceed by selecting the first option and by giving the access to all as “Default On”. Proceed to “Next” step
Step3: In this step, we need to select for tab view in all applications. We can customise based on our requirement. “Naukri.com” is the app we have created. So, it should be visible under “Naukri.com App”. So, deselect all the checkboxes and select only the required checkbox i.e., “Naukri com App”. Proceed to “Save” the selection.
Now, the table or object is ready!
Naukri.com App

3. How To Create Field In Salesforce?

Fields help us to enter the data into the Salesforce. Fields are like columns of a table
Steps To Create Fields: 
After logging In >> Go To “Setup” >> Build >> Create >> Objects >>  Select object >> Custom Fields >> New
Create Fields
This is also called as Object Definition Page(ODP) or Object Detail Page. It defines each point about the object, created by, date, time, etc.

Object Detail Page
Standard Fields: Standard fields are created by default whenever we create an “Object” in Salesforce

Checkout Salesforce Interview Questions

Standard Fields
As, per our requirement, we need additional fields as we can not proceed with standard fields. So, we go for “Custom Fields & Relationships” section >> Click On “New”.
Custom Fields & Relationships
Step1: Custom Field Type selection, In this step, we have to select the field type in which we enter the data, and then “Next”.
Select the type >> Next.
Data Types
Please select “Text” from the below list and proceed with “Next”.
Create Objects
Step2: Enter the details of the custom field as shown in the below figure.
Enter the details of the custom field
Step3: Need to select the visibility option for the profiles, which can access and who can not access the fields can be defined at step 3 >> and proceed with “Next” button.
New Custom Object Tab
Step4: In this step, we have predefined selection of - “Add Field” for page layout to show fields. Proceed by clicking the “Save” button.
New Custom Field
Successfully, you have created the field. The below figure shows it.
Custom Fields & Relationships
Next, Go to Naukri.com App page >> click on “New” >> add the record with desired entry name >> save.
Custom Fields & Relationships

In the next topics, we will discuss in detail about “Report building in Salesforce”. Keep following us for more information on Salesforce Administration.

Explore Salesforce Sample Resumes! Download & Edit, Get Noticed by Top Employers!Download Now!

Mindmajix offers different Salesforce certification training according to your desire with hands-on experience on Salesforce concepts