Sub topic 2
Working with List Views
Assume you know Salesforce terms such as object, record, and field, and can open an Account tab in a Salesforce org. A list view is a saved set of filters and columns for an object. It helps you work with a useful subset of records instead of every record.
Creating and Filtering a List View
Open the Accounts tab and select the list-view menu. Choose New to create a view. Give it a name, choose who can access it, and add filter conditions. For example, filter Accounts where Industry equals Technology. Select the columns to display and save the view.
A list view can also sort rows by a selected column. This list view and SOQL query describe the same basic result:
SELECT Id, Name, Industry
FROM Account
WHERE Industry = 'Technology'
ORDER BY NameThe list view runs inside Salesforce and respects the permissions of the current user. A query is a developer tool and can be run only in a suitable Salesforce environment.
You can edit a saved view from its list-view controls. Check filter logic carefully when combining conditions. For example, “Industry is Technology” and “Annual Revenue is greater than 1,000,000” usually means both conditions must be true.
Display Modes, Charts, and Inline Editing
Use the display-mode control to choose the view that fits the task:
| Mode | Best use |
|---|---|
| Table | Reviewing rows and columns |
| Kanban | Moving records through stages |
| Split view | Browsing a list while viewing one record |
Some list views support charts that summarize the visible records. Inline editing lets you change editable fields directly in the table. Salesforce validates the value and may prevent edits when the field, record, or sharing rules do not permit them.
Opening and Understanding a Record
Select a record name to open its record page. The page commonly includes a highlights panel, details, related lists, and an activity timeline. Related lists show connected records, such as Contacts related to an Account. Use the record page when you need the full context rather than a quick row-level update.
A list view URL can look like this:
/lightning/o/Account/list?filterName=Recent
/lightning/r/Account/001XXXXXXXXXXXXXXX/viewThe first path opens the Recent Accounts view. The second opens one Account record. The final identifier represents that record’s Salesforce ID.
Exercise
Which setting determines whether an Account appears in a list view: its columns or its filters?
Show answer
Its filters determine whether it appears. Columns determine which fields are shown.