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.

DescribeSoqlListView

Contains information about the specified list view, including the columns, sObject type, and SOQL query.

The DescribeSoqlListView object has these properties.

Name Type Description
columns ListViewColumn[] The columns that are returned by the list view query.
id ID The list view’s fully qualified ID.
orderBy ListViewOrderBy[] A list of fields to sort results by, the sort order, and the position to which null values must be sorted.
query string The fully composed SOQL query for the list view.
relatedEntityId ID The ID of the campaign, if a campaign scope was used.
scope string A filterScope to use for limiting the results.
scopeEntityId ID The ID of the queue or price book, if a queue or price book scope was used.
sobjectType string The object associated with the list view.
whereCondition SoqlWhereCondition Filter conditions on the list view. Filter conditions provide an additional level of control over which records get shown in the list view.