If you are familiar with the database operations, and if you have already worked on some of the databases like Oracle and MySql, you might be aware that we can filter the records based on a particular field. ListViews can do the same in Salesforce. It can filter the records, based on a particular field, to which you have access. In more technical terms, if you are looking to segment a specific list of records, then the list view is the perfect tool for that. List View can be executed on multiple records at the same time.
For more effective results, we can create custom list views. More importantly, list views can pull out a smaller subset of data, which can be accessed instantly by different objects. When we create the list views, we define what data will be shown in the columns, and we also specify which fields should be used for filtering the records.
Before creating a list view, let's discuss a use case. Jhonson has joined a new organization. He has been deputed in the sales team, as a sales trainee. As a new joinee, he is confused completely. On top of that, he has been assigned as the sales representative for a particular company, focuses on the channel sales customer. What Jhonson should do? The solution is simple. Jhonson should create a custom list view, where he can see the specified type of accounts. This will help Jhonson to see what he wants, rather than going through the sea of information stored in the database.
As a result of this activity, the list view will show all the accounts, without any specific criteria like set on them. However, we can see the Filter panel on the right side of the screen.
Now you get a view of the record that is specific as per the given criteria. The criteria are where type equals “Customer-Channel”. Similarly, more customizations can be done by adding more criteria. For example, you can specify channel customers for a particular region.
We have already created a list view that shows a selective result, as per the given criteria. We have added the filters as well. You might say that we have already customized the list view. But wait. We can do more. We can even customize the display of the view. We can decide, what we want to see and what we don’t want to see. For example, you don’t want to see some of the fields that are displayed, you can remove it. This is easy. Go to list view controls. Select the option “Select Fields to Display”. Once the dialog box opens up, you can add and remove the fields as per your preference.
Once you have added or removed the fields, click on “Save”, to save your selection. Once the view is displayed, you will find more refined results, with unwanted columns removed. You can also apply sort by clicking on the arrow beside the fields. List view records are not read-only, so if you want to edit, you can also edit them by click in the records. However, there might be certain fields that might not be editable. You can identify with the lock icon displayed beside them.
You have created a custom recordset with the list view, and the filter panel. But, now you also want to create a chart based on that data for your presentation. So you want to include the overall pipeline value in your presentation, to show the project value of sales. Let us create a ListView Chart.
Once you click on the save option, the chart will be created and displayed on the screen. Since the chart is based on a list view that is associated with the object “Opportunity”, the chart itself will be associated with the same object.