In this Salesforce tutorial, I will explain how to create and list view for object in salesforce lightning step by step.
Before we start please note one thing, we always construct list views for objects and tabs; list views for apps cannot be created in Salesforce.
We will thus discover how to build list views for both objects. In addition, I will outline how to create a tab, custom object, and app.
The topics that we will cover in this Salesforce tutorial are as follows.
- Define Tab and Object
- How to create a list view in Salesforce Lightning for a standard object
- How to create a list view in Salesforce Lightning for a custom object
- How to build apps in Lightning for Salesforce
- How to construct a tab and object in Salesforce Lightning
Define Tab and Object
Additionally, as a salesforce developer, I notice that learners frequently confuse the terms “objects” with “tabs,” despite the fact that they are completely distinct.
So, let’s understand the brief difference between an object and a tab in Salesforce.
- Object: In salesforce, objects are simple database tables that allow us to store data.
- Example: Contact, Lead, etc.
- Tab: In Salesforce, tabs are user interface that is used to create and view records in objects. And the tab is always generated automatically for the relevant object.
- Example: Contacts, Leads, etc.
How to create a list view in Salesforce Lightning for a standard object
We will first define a standard object in Salesforce before learning how to develop a list view for those items in Salesforce Lightning.
Salesforce comes with numerous objects that are considered standard objects. Account, Contact, Lead, and Opportunity are examples of common standard objects.
We have already discussed how to create list views for particular standard objects in Salesforce Lightning. Visit the post listed below to learn more.
What is custom object
We can develop custom objects to store data that is particular to your business. For example, university management applications have objects like Staff, Courses, Students, etc.
Process to create list view in Salesforce Lightning for custom object
If you want to create a list view for a custom object in salesforce lightning follow the below-given steps.
- You must have a custom object, if not create it.
- Create a tab for a custom object.
- Select the object.
- Click the âš™ icon.
- Select New.
- Fill up all the details.
- Save the List View.
- Add filter on List View.
Let’s see an example to clearly understand the concept. In this example, I am going to create a Custom App with Custom objects and fields. Then on the auto-generated Tab, I will create a List View.
Read: Create list view for queue in Salesforce
Create Custom App in Salesforce Lightning
Step 1: Click on the Quick Find, find, and select the App Manager.

Step 2: Click on the New Lightning App button located on the left side of the page.

Step 3: Enter the App Name and the Developer Name is automatically set based on your app name. Here, I set the app name as Event Management. Then click on Next.

Step 4: Remain the App Options as it is and click on Next.

Step 5: Choose the Tab which you want to include in our App by moving the tabs from Available Fields to the Selected Fields by clicking on the arrow. Then click on Save and Next.

Step 6: Search for System Administrator and move it with the help of the arrow and click on Save & Finish button.

Read: How to create list view in Permission Set Salesforce
Create Custom Object in Salesforce Lightning
Step 7: Now, we will create an Object. For this, click on Object Manager then click on Create dropdown and select a Custom Object.

Step 8: Fill in Custom Object Information. Here, I set the Label to Staff and Plural Label to Staffs.

Step 9: To auto-launch the Tab for the newly created object. Select Launch New Custom Tab Wizard after saving this custom object under Object Creation Options.
Step 10: Click on Save.

Create Tab for custom object in Salesforce Lightning
Step 11: Select the Tab Style and click on Next.

Step 12: Then, again click on Next.

Step 13: Select the app in which you want to show this tab. Here, I only want to show it on Event Management App so I only check this box and click on Save.

Step 14: By default, the Staff object only has a Name field. If we want to add more fields follow this article How to Create Custom Field in Salesforce. Here, I create Staff Id and Job Title filed.
Create List View for custom object in Salesforce Lightning
Step 15: The app, object, and tag are now successfully created. Now, click on App Launcher, find and select the app which we have created yet (Event Management).

Step 16: As we want to create a list view for the staff object, select the Staffs tab.
Step 17: Click on the Gear Icon and select New from the List View Controls dropdown.

Step 18: On the next screen, enter the List Name. I named them Non-Technical View. And the API Name is automatically set based on your list view name.
Step 19: Set the sharing settings for the list view. Here, I set it to All Users. And click on the Save button.

Step 20: Set the filter for the list view by clicking on Add Filter. Here, I want to filter the Staffs based on their Job Title.
Step 21: Specify Filter Criteria. Here, I select the Field as Job Title, Operator as equals, and Value as Non-Technical. And then click on Done.

Step 22: Click on Save.

Step 23: It has successfully created a list view name Non-Technical View. To activate it click on the dropdown arrow, and select Non-Technical View.
Step 24: It shows all the Staff who have Job Title as Non-Technical.

This is how we can create a list view for Objects in Salesforce Lightning.
Conclusion:
In this tutorial, we have learned how to create a list view for objects in salesforce, and we have also covered how to create a custom app, object, and tabs in salesforce lightning.
In addition, we also comprehend what tabs and objects are, as well as the difference between standard and custom objects.
Also, we have covered these topics:
- Define Tab and Object
- How to create a list view in Salesforce Lightning for a standard object
- How to create a list view in Salesforce Lightning for a custom object
- How to build apps in Lightning for Salesforce
- How to construct a tab and object in Salesforce Lightning
Related Salesforce Articles
- How to Create Record Type in Salesforce
- Customize log a call in salesforce lightning
- How to Create a Junction Object in Salesforce
- How to Create Custom Big Objects in Salesforce
I am Bijay Kumar, the founder of SalesforceFAQs.com. Having over 10 years of experience working in salesforce technologies for clients across the world (Canada, Australia, United States, United Kingdom, New Zealand, etc.). I am a certified salesforce administrator and expert with experience in developing salesforce applications and projects. My goal is to make it easy for people to learn and use salesforce technologies by providing simple and easy-to-understand solutions. Check out the complete profile on About us.