Newer Version Available

This content describes an older version of this product. View Latest

Get Lightning Page Actions

Get the actions on Lightning pages (FlexiPages).
Resource

flexipageNames—A Lightning page name, or a comma-delimited list of Lightning page names.

Available version
41.0
HTTP methods
GET
Example

As an example, let’s say we have a Lightning page named MyNewLightningPage. The page has quick actions for logging a call and creating an account. To get information about all the actions on this page, make this request:

The request returns a list of actions on the Lightning page and the URLs of the request and subrequests.

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