Newer Version Available
Get List View Chart Actions
- Resource
-
1/ui-api/actions/list-view-chart/${objectApiName} - Available version
- 41.0
- HTTP methods
- GET
- Example
-
This example gets the chart actions on a list view.
1GET /services/data/v41.0/ui-api/actions/list-view-chart/ListViewChartInstanceThe request returns a list of chart actions on the list view and the URLs of the request and subrequests.
1{ 2 "actions" : { 3 "ListViewChartInstance" : { 4 "actions" : [ { 5 "actionListContext" : "ObjectHomeChart", 6 "actionTarget" : null, 7 "actionTargetType" : null, 8 "apiName" : "NewObjectHomeChartAction", 9 "externalId" : "00DR00000008n7M:ListViewChartInstance::ObjectHomeChart:Phone:StandardButton:NewObjectHomeChartAction", 10 "iconUrl" : "https://yourInstance.salesforce.com/img/icon/t4v35/action/new_custom19_120.png", 11 "id" : "0JVR00000000001OAA", 12 "isMassAction" : "false", 13 "label" : "New Chart", 14 "primaryColor" : null, 15 "relatedListRecordId" : null, 16 "relatedSourceObject" : null, 17 "section" : "Page", 18 "sourceObject" : "ListViewChartInstance", 19 "subtype" : null, 20 "targetObject" : "ListViewChart", 21 "targetUrl" : null, 22 "type" : "StandardButton" 23 } 24 25... Additional actions removed for brevity ... 26 27], 28 "links" : [ ], 29 "url" : "/services/data/v41.0/ui-api/actions/list-view-chart/ListViewChartInstance" 30 } 31 }, 32 "url" : "/services/data/v41.0/ui-api/actions/list-view-chart/ListViewChartInstance" 33} - Request parameters for GET
-
Parameter Name Type Description Required or Optional Available Version actionTypes String[] The action type. One of these values:- CustomButton—A button that opens a URL or Visualforce page or executes JavaScript.
- ProductivityAction—A pre-defined Salesforce action, attached to a limited set of objects.
- QuickAction—A global or object-specific action.
- StandardButton—A pre-defined Salesforce button, such as New, Edit, and Delete.
Optional 41.0 formFactor String The layout display size. One of these values: - Large—(Default) Use this value to get a layout for desktop display size.
- Medium—Use this value to get a layout for tablet display size.
- Small—Use this value to get a layout for phone display size.
Optional 41.0 sections String[] The section of the user interface that the action resides in. One of these values:- ActivityComposer
- CollaborateComposer
- Page
- SingleActionLinks
Optional 41.0 - Response body for GET
- ActionRepresentation