ListViewChart

Represents a graphical chart that’s displayed on Salesforce for Android, iOS, and mobile web list views. The chart aggregates data that is filtered based on the list view that’s currently displayed. This object is available in API version 33.0 and later.

Supported Calls

create(), delete(), describeSObjects()query()retrieve(), update(), upsert()

Fields

Name Description
AggregateField
Type
string
Properties
Create, Filter, Query, Restricted picklist, Retrieve, Sort, Update
Description
The field that’s used for calculating data on each group. AggregateField can’t be the same as GroupingField.
AggregateType
Type
picklist
Properties
Create, Filter, Query, Retrieve, Sort, Update
Description
The type of calculations to run on each group. The supported AggregateType values are Count, Sum, and Avg.
ChartType
Type
picklist
Properties
Create, Filter, Query, Retrieve, Sort, Update
Description
The type of chart to create. The supported chart types are horizontal bar chart, vertical bar chart, and donut chart.
DeveloperName
Type
string
Properties
Create, Filter, Query, Retrieve, Sort, Update
Description
The fully qualified developer name of the chart.
GroupingField
Type
string
Properties
Create, Filter, Query, Retrieve, Sort, Update
Description
The field that’s used to divide the data into collections. The field has to be supported by SOQL GROUP BY functionality. GroupingField can’t be the same as AggregateField.
Language
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The language of the MasterLabel.
MasterLabel
Type
string
Properties
Create, Filter, Query, Retrieve, Sort, Update
Description
The label for the chart.
OwnerId
Type
ID
Properties
Defaulted on create, Filter, Query, Retrieve, Sort
Description
The ID of the user who owns the chart.
SobjectType
Type
string
Properties
Create, Filter, Query, Retrieve, Sort
Description
The API name of the sObject for the chart.