Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Get List View Metadata
- Resource
-
-
- listViewId—The ID of a list view, such as 00BR0000000Wc0rMAC.
- objectApiName—A supported object, such as Account.
- listViewApiName—The API name of a list view, such as AllAccounts, __Recent, or __SearchResult.
- Available Version
- 42.0
- HTTP Method
- GET
- Example
-
As an example, let’s say we have a list view named All Accounts with a list view ID of 00BR0000000Wc0rMAC. To get information about the metadata for this list view, make this request:
You can also use the object API name and list view API name of the list view to make the same request:
To get the most recently used (MRU) list view metadata for accounts, use the special __Recent list view API name.
To get the search layout list view metadata for accounts, use the special __SearchResult list view API name.
- Response Body
- List Info