QuickActionList

Represents a list of quick actions.

Version 

Introduced in API version 32.0.

Supported SOAP API Calls 

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

Supported REST API Methods 

DELETE, GET, HEAD, PATCH, POST, Query

Fields 

LayoutId 

  • Type: reference

  • Required: No

  • Properties: Create, Filter, Group, Sort

  • Description: The ID of the associated layout.

  • Relationship name: Layout

  • Relationship type: polymorphic

  • Refers to: Layout, FlexiPage, Site

Usage 

A QuickActionList is a junction between QuickActionListItem objects and a layout. If a layout doesn’t have an associated QuickActionList, it inherits the actions from the global page layout.

The following example retrieves all quick action lists in an organization and their associated layout ID.

1String query = "SELECT Id,LayoutId FROM QuickActionList";
2SObject[] records = sforce.query(query).getRecords();
3
4for (int i = 0; i < records.length; i++) {
5   QuickActionList list = (QuickActionList)records[i];
6   String relatedLayoutId = list.get("LayoutId");
7}

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!