---
schema_version: "1"
id: 84a6aca0ea5f99ce017c86a7ef9a01ed1997934f461113e296ccbd67e6386b96
title: Platform Action
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/uiapi/ui_api_responses_platform_action.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.uiapi.meta/uiapi/ui_api_responses_platform_action.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 81eb434f512b9b3eea42396836dfcede2d4971bd82acc105882215096a8e737e
description: The metadata, layout information, and data for a platform action.
---
# Platform Action

The metadata, layout information, and data for a platform action.

<table class="featureTable sort_table" summary="">





          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d154391e44">Property Name</th>

              <th class="featureTableHeader vertical-align-top " id="d154391e47">Type</th>

              <th class="featureTableHeader vertical-align-top " id="d154391e50">Description</th>

              <th class="featureTableHeader vertical-align-top " id="d154391e53">Filter Group and Version</th>

              <th class="featureTableHeader vertical-align-top " id="d154391e56">Available Version</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">actionListContext</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">The context of the action. One of these values: <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Chatter</samp></li>

                  <li class="li"><samp class="codeph nolang">Dockable</samp></li>

                  <li class="li"><samp class="codeph nolang">FlexiPage</samp></li>

                  <li class="li"><samp class="codeph nolang">Global</samp></li>

                  <li class="li"><samp class="codeph nolang">ListView</samp></li>

                  <li class="li"><samp class="codeph nolang">ListViewRecord</samp></li>

                  <li class="li"><samp class="codeph nolang">Lookup</samp></li>

                  <li class="li"><samp class="codeph nolang">MruList</samp></li>

                  <li class="li"><samp class="codeph nolang">ObjectHomeChart</samp></li>

                  <li class="li"><samp class="codeph nolang">Photo</samp></li>

                  <li class="li"><samp class="codeph nolang">Record</samp></li>

                  <li class="li"><samp class="codeph nolang">RecordEdit</samp></li>

                  <li class="li"><samp class="codeph nolang">RelatedList</samp></li>

                  <li class="li"><samp class="codeph nolang">RelatedListRecord</samp></li>

                </ul>
              </td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">actionTarget</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">The URL to invoke or describe the action when the action is invoked. Applies
                only to quick actions.</td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Big, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">actionTargetType</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">The type of the target when this action is invoked. One of these values: <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Describe</samp>—applies to actions with a
                    user interface, such as quick actions
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Invoke</samp>—applies to actions with no
                    user interface, such as action links or invocable actions
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Visualforce</samp>—applies to standard
                    buttons overridden by a Visualforce page
                  </li>

                </ul>
              </td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Big, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">apiName</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">The API name of the action.<p class="p">In API version 46.0 and later, for global actions
                  the prefix <samp class="codeph nolang">Global.</samp> is prepended to the API
                  name.</p>
              </td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">externalId</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">External information associated with the action.<sup class="ph sup">1</sup>
              </td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Medium, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">iconUrl</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">The URL of the action’s icon image.</td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">id</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">The ID of this platform action record, which is the 18-character PlatformAction
                SObject ID, with a prefix of <samp class="codeph nolang">0JV</samp>.</td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">isMassAction</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">Indicates whether the action can be performed on multiple records.</td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">label</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">The label to display for this action.</td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">lwcComponent</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">The Lightning web component associated with this action.</td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Small, 56.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">56.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">primaryColor</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">The primary color of the icon for this action, in Hex color code. For example,
                <samp class="codeph nolang">7F8DE1</samp>.
              </td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">relatedListRecordId</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">When the <samp class="codeph nolang">actionListContext</samp> property is
                <samp class="codeph nolang">RelatedListRecord</samp>, this field represents the
                ID of the record in an object's related list.
              </td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">relatedSourceObject</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">When the <samp class="codeph nolang">actionListContext</samp> property is
                <samp class="codeph nolang">RelatedList</samp> or <samp class="codeph nolang">RelatedListRecord</samp>, this field represents the API name of the related
                list to which the action belongs.
              </td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">section</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">The section of the user interface the action resides in. One of these values: <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">ActivityComposer</samp></li>

                  <li class="li"><samp class="codeph nolang">CollaborateComposer</samp></li>

                  <li class="li"><samp class="codeph nolang">Page</samp></li>

                  <li class="li"><samp class="codeph nolang">SingleActionLinks</samp></li>

                </ul>
              </td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Medium, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">sourceObject</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">The object that this action is associated with. Either an API name or record
                ID, depending on the resource.</td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">subtype</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">The subtype of the action. For quick actions, one of these values: <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Canvas</samp></li>

                  <li class="li"><samp class="codeph nolang">CaseComment</samp></li>

                  <li class="li"><samp class="codeph nolang">ChangeDueDate</samp></li>

                  <li class="li"><samp class="codeph nolang">ChangePriority</samp></li>

                  <li class="li"><samp class="codeph nolang">ChangeStatus</samp></li>

                  <li class="li"><samp class="codeph nolang">Create</samp></li>

                  <li class="li"><samp class="codeph nolang">Email</samp></li>

                  <li class="li"><samp class="codeph nolang">LightningComponent</samp></li>

                  <li class="li"><samp class="codeph nolang">LogACall</samp></li>

                  <li class="li"><samp class="codeph nolang">MobileCreateFull</samp></li>

                  <li class="li"><samp class="codeph nolang">MobileSmartActions</samp></li>

                  <li class="li"><samp class="codeph nolang">Post</samp></li>

                  <li class="li"><samp class="codeph nolang">SendEmail</samp></li>

                  <li class="li"><samp class="codeph nolang">SocialPost</samp></li>

                  <li class="li"><samp class="codeph nolang">Update</samp></li>

                  <li class="li"><samp class="codeph nolang">VisualforcePage</samp></li>

                </ul>
                For custom buttons, one of these values: <ul class="ul bulletList">
                  <li class="li">flow</li>

                  <li class="li">javascript</li>

                  <li class="li">page</li>

                  <li class="li">sControl</li>

                  <li class="li">url</li>

                </ul>
                For action links, one of these values: <ul class="ul bulletList">
                  <li class="li">Api</li>

                  <li class="li">ApiAsync</li>

                  <li class="li">Download</li>

                  <li class="li">Ui</li>

                </ul>
                Standard buttons and productivity actions have no subtype.</td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Medium, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">targetObject</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">The target object that is created when the action is invoked.</td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">targetUrl</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">The target URL for custom button actions.</td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d154391e44" data-title="Property Name"><samp class="codeph nolang">type</samp></td>

              <td class="entry" headers="d154391e47" data-title="Type">String</td>

              <td class="entry" headers="d154391e50" data-title="Description">The type of the action. One of these values: <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">CustomButton</samp>—A button that opens a URL or
                    Visualforce page or executes JavaScript.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">ProductivityAction</samp>—A pre-defined
                    Salesforce action, attached to a limited set of objects.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">QuickAction</samp>—A global or object-specific
                    action.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">StandardButton</samp>—A pre-defined Salesforce
                    button, such as <strong class="ph uicontrol">New</strong>, <strong class="ph uicontrol">Edit</strong>, and
                    <strong class="ph uicontrol">Delete</strong>.
                  </li>

                </ul>
              </td>

              <td class="entry" headers="d154391e53" data-title="Filter Group and Version">Small, 41.0</td>

              <td class="entry" headers="d154391e56" data-title="Available Version">41.0</td>

            </tr>

          </tbody>

        </table>

1The format for a quick action is:

OrgId:SourceObject::Context:deviceFormat::QuickActionDefinitionId

For example:

00Dxx0000001gGh:x01xx0000000007AAA::Record:Phone:09Dxx00000000B6

The format for a standard action is:

OrgId:SourceObject::Context:deviceFormat::StandardButton:ApiName