---
schema_version: "1"
id: 9012f9da91c8b69e4c33cedb84934b8e511ca6f0557a9d5d8003044dc367a413
title: QuickAction
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_quickaction.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_quickaction.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3c8dc86296705085e8514a2a6b1313c5202fe92cb43d87f67b3a6360334ca8f9
description: Represents a specified create or update quick action for an object that then becomes available in the Chatter publisher. For example, you can create an action that, on the detail page of an account, allows a user to create a contact related to that account from the Chatter feed on that page. QuickAction can be created on objects that permit custom fields.
---
# QuickAction

Represents a specified create or update quick action for an object that then becomes available in the Chatter publisher. For example, you can create an action that, on the detail page of an account, allows a user to create a contact related to that account from the Chatter feed on that page. QuickAction can be created on objects that permit custom fields.

The parent objects supported include:

- Account
- Campaign
- Case
- Contact
- ContentNote
- Custom objects
- Group
- Lead
- Opportunity

## File Suffix and Directory Location

QuickAction components have the suffix quickAction and are stored in the quickActions folder.

## Version

QuickAction components are available in API version 28.0 and later.

## Fields

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



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d783215e119">Field Name</th>

              <th class="featureTableHeader  " id="d783215e122">Field Type</th>

              <th class="featureTableHeader  " id="d783215e125">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">actionSubtype</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">ActionSybtype (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)</td>

              <td class="entry" headers="d783215e125" data-title="Description">The subtype of the action.<div class="p">The valid values are:<ul class="ul bulletList">
                    <li class="li">
                      <samp class="codeph nolang">Action</samp>—This value
                      is available only for actions of type <samp class="codeph nolang">LightningWebComponent</samp>.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">Create</samp>—The Quick
                      Action Page defines the field layout of the record
                      creation form. This value is available only for actions
                      of type <samp class="codeph nolang">Flexipage</samp>.
                      (This value is available as a Beta in API version 68.0
                      and later)
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">ScreenAction</samp>—This
                      value is available only for actions of type <samp class="codeph nolang">LightningWebComponent</samp>.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">Update</samp>—The Quick
                      Action Page defines the field layout of the record
                      update form. This value is available only for actions of
                      type <samp class="codeph nolang">Flexipage</samp>.
                      (This value is available as a Beta in API version 68.0
                      and later)
                    </li>

                  </ul>
                </div>
                <p class="p">This field is available in API version 50.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="ph" id="field_canvas"><a name="field_canvas"><!-- --></a><span class="keyword parmname">canvas</span></span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">string</td>

              <td class="entry" headers="d783215e125" data-title="Description">
                <span class="ph" id="field_canvas_desc"><a name="field_canvas_desc"><!-- --></a>If the custom action invokes a Canvas
                  app, the app name. Returns the fully qualified name of the
                  Canvas app in the format <samp class="codeph nolang"><span class="keyword parmname">&lt;namespace&gt;</span>__<span class="keyword parmname">&lt;dev_name&gt;</span></samp>,
                  if the quick action type is <samp class="codeph nolang">Canvas</samp>; otherwise, returns <samp class="codeph nolang">null</samp>.</span>
                <p class="p">This field is available in API version 29.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">description</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">string</td>

              <td class="entry" headers="d783215e125" data-title="Description">The description of the action.</td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">fieldOverrides</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">
                <a class="xref" href="#fieldOverride_title">FieldOverride</a>[]
              </td>

              <td class="entry" headers="d783215e125" data-title="Description">The specific field that can be overridden within a <a class="xref" href="#meta_quickaction" title="Represents a specified create or update quick action for an object that then becomes available in the Chatter publisher. For example, you can create an action that, on the detail page of an account, allows a user to create a contact related to that account from the Chatter feed on that page. QuickAction can be created on objects that permit custom fields.">QuickAction</a>.</td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">flexiPage</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">string</td>

              <td class="entry" headers="d783215e125" data-title="Description">The API name of the Quick Action Page that contains the fields
                and layout for the action. This field applies only when the quick
                action type is <samp class="codeph nolang">Flexipage</samp>.
                <p class="p">This field is available as a Beta in API version 68.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">flowDefinition</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">string</td>

              <td class="entry" headers="d783215e125" data-title="Description">If the custom action invokes a flow, this field represents the
                API name of the flow. Otherwise, this field is <samp class="codeph nolang">null</samp>.</td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">height</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">int</td>

              <td class="entry" headers="d783215e125" data-title="Description">If a custom action is created, this field represents the height
                in pixels of the action pane.</td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">icon</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">string</td>

              <td class="entry" headers="d783215e125" data-title="Description">The icon used to identify the action.<p class="p">API version 32.0 and
                  later returns different icons than in earlier API
                  versions.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">isProtected</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">boolean</td>

              <td class="entry" headers="d783215e125" data-title="Description">Indicates whether this component is protected (<samp class="codeph java">true</samp>) or not (<samp class="codeph java">false</samp>). Protected components cannot
                be linked to or referenced by components created in the installing
                organization.</td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">label</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">string</td>

              <td class="entry" headers="d783215e125" data-title="Description">Identifies the action and displays to users. Also the default
                identifier used for the API and managed packages.</td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">lightningComponent</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">string</td>

              <td class="entry" headers="d783215e125" data-title="Description">
                <span class="ph" id="field_lightningcomponent_desc"><a name="field_lightningcomponent_desc"><!-- --></a>If the custom action
                  invokes a Lightning component, this field represents the fully
                  qualified name of the component. Otherwise, this field is
                  <samp class="codeph nolang">null</samp>.</span>
                <p class="p">Available
                  in API version 38.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">optionsCreateFeedItem</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">boolean</td>

              <td class="entry" headers="d783215e125" data-title="Description">Required. Indicates whether successful completion of the action
                creates a feed item (<samp class="codeph java">true</samp>) or not
                (<samp class="codeph java">false</samp>). Applies only to
                Create Record, Update Record, and Log a Call quick action
                types.<p class="p">Available in API version 36.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">page</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">string</td>

              <td class="entry" headers="d783215e125" data-title="Description">If the custom action invokes a Visualforce page, this field
                identifies the page.</td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">quickActionLayout</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">
                <a class="xref" href="#quickActionLayout_title">QuickActionLayout</a>
              </td>

              <td class="entry" headers="d783215e125" data-title="Description">The layout of fields on the action.</td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">quickActionParameters</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">
                <a class="xref" href="#quickActionParameter_title">QuickActionParameter</a>[]
              </td>

              <td class="entry" headers="d783215e125" data-title="Description">The input and output of the quick action.<p class="p">Available in API
                  version 63.0 and later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname" id="standardLabelName"><a name="standardLabelName"><!-- --></a>standardLabel</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">QuickActionLabel (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)</td>

              <td class="entry" headers="d783215e125" data-title="Description">Specifies the standard label to use for the action. The valid
                values are:<a name="quickaction_standardlabel"><!-- --></a>
                <ul class="ul bulletList" id="quickaction_standardlabel">
                  <li class="li"><samp class="codeph nolang">AddRecord</samp></li>

                  <li class="li"><samp class="codeph nolang">AddMember</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">CreateNew</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">CreateNewRecordType</samp>
                    (For example, a label with something like “Create New
                    Idea”)
                  </li>

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

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

                  <li class="li">
                    <samp class="codeph nolang">EnrollInProgram</samp>
                    (Available in API versions 46.0 and later only if the org
                    has Health Cloud enabled)
                  </li>

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

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

                  <li class="li">
                    <samp class="codeph nolang">Forward</samp> (Available in
                    API version 42.0 and later)
                  </li>

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

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

                  <li class="li">
                    <samp class="codeph nolang">ModifyAppointment</samp>
                    (Available in API version 47.0 and later)
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">New</samp> (A new record)
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">NewChild</samp> (A new child
                    record)
                  </li>

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

                  <li class="li">
                    <samp class="codeph nolang">NewRecordType</samp> (For
                    example, a label with something like “New
                    Idea”)
                  </li>

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

                  <li class="li">
                    <samp class="codeph nolang">PatientDetails</samp>
                    (Available in API version 57.0 and later if the org has
                    Health Cloud enabled)
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">PerformCount</samp> (Available
                    in API version 63.0 and later.)
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Quick</samp> (A quick
                    record)
                  </li>

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

                  <li class="li">
                    <samp class="codeph nolang">RelocateAsset</samp>
                    (Available in API version 63.0 and later)
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">ReplaceAsset</samp> (Available
                    in API version 63.0 and later)
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Reply</samp> (Available in API
                    version 42.0 and later)
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">ReplyAll</samp> (Available in
                    API version 42.0 and later)
                  </li>

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

                  <li class="li">
                    <samp class="codeph nolang">SendEmail</samp> (This value
                    is available in API version 31.0 and later.)
                  </li>

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

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">successMessage</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">string</td>

              <td class="entry" headers="d783215e125" data-title="Description">The message that displays to the user upon successful completion
                of the action.<p class="p">Available in API version 36.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">targetObject</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">string</td>

              <td class="entry" headers="d783215e125" data-title="Description">The object for which the action is created and performed. <p class="p">For
                  example, you can create an action that, on the detail page of an
                  account, allows a user to create a contact related to that
                  account from the Chatter feed on that page. QuickAction can be
                  created on objects that permit custom fields. In this case,
                  Contact is the <span class="keyword parmname">targetObject</span>. </p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">targetParentField</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">string</td>

              <td class="entry" headers="d783215e125" data-title="Description">The parent object type of the action. Links the target object to
                the parent object. For example, use Account if the target object is
                Contact and the parent object is Account.</td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">targetRecordType</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">string</td>

              <td class="entry" headers="d783215e125" data-title="Description">Specifies which record type to create. Valid values are:<a name="ul_e3z_rtt_w2c"><!-- --></a>
                <ul class="ul bulletList" id="ul_e3z_rtt_w2c">
                  <li class="li">Business Account</li>

                  <li class="li">Person Account</li>

                  <li class="li">Master</li>

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="ph" id="field_type"><a name="field_type"><!-- --></a><span class="keyword parmname">type</span></span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">QuickActionType (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)</td>

              <td class="entry" headers="d783215e125" data-title="Description">Required. The type of quick action. Valid values
                are:<a name="quickaction_type_values"><!-- --></a>
                <ul class="ul bulletList" id="quickaction_type_values">
                  <li class="li"><samp class="codeph nolang">Canvas</samp></li>

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

                  <li class="li">
                    <samp class="codeph nolang">Flexipage</samp> (This value
                    is available as a Beta in API version 68.0 and later)
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">Flow</samp> (This value is
                    available as a Beta in API version 41.0 and later)
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">LightningComponent</samp>
                    (This value is available in API version 38.0 and
                    later.)
                  </li>

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

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

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

                  <li class="li">
                    <samp class="codeph nolang">SendEmail</samp> (This value
                    is available in API version 31.0 and later.)
                  </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>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e119" data-title="Field Name"><span class="keyword parmname">width</span></td>

              <td class="entry" headers="d783215e122" data-title="Field Type">int</td>

              <td class="entry" headers="d783215e125" data-title="Description">If a custom action is created, this field represents the width in
                pixels of the action pane.</td>

            </tr>

          </tbody>

        </table>

## FieldOverride

Represents the field names and their respective formulas and literal values that comprise predefined value settings for a [QuickAction](#meta_quickaction "Represents a specified create or update quick action for an object that then becomes available in the Chatter publisher. For example, you can create an action that, on the detail page of an account, allows a user to create a contact related to that account from the Chatter feed on that page. QuickAction can be created on objects that permit custom fields."). If a field on an action has both a predefined value and a default value set, the action uses the predefined value, not the default value. A formula value takes precedence over a literal value if both are defined.

| Field Name | Field Type | Description |
| --- | --- | --- |
| field | string | Required. The name of the field to allow predefined values on. |
| formula | string | Specifies the formula to use when setting a field’s predefined value. Supported for single-select picklists as of API version 43.0. |
| literalValue | string | Supported for picklists only. Specifies the literal value of the field defined from values in the picklist. Corresponds to the Specific Value field in the predefined value UI. |

## QuickActionLayout

The layout of fields on the action. There’s no hard limit to the number of fields you can add to an action layout. However, for optimum usability, we recommend a maximum of eight fields. Adding more than 20 fields can severely affect user efficiency.

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



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d783215e880">Field Name</th>

              <th class="featureTableHeader  " id="d783215e883">Field Type</th>

              <th class="featureTableHeader  " id="d783215e886">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d783215e880" data-title="Field Name"><span class="keyword parmname">layoutSectionStyle</span></td>

              <td class="entry" headers="d783215e883" data-title="Field Type">LayoutSectionStyle (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)</td>

              <td class="entry" headers="d783215e886" data-title="Description">Required. The type of layout structure used. The valid values
                are:<a name="ul_h3z_rtt_w2c"><!-- --></a>
                <ul class="ul bulletList" id="ul_h3z_rtt_w2c">
                  <li class="li"><samp class="codeph nolang">TwoColumnsTopToBottom</samp></li>

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

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

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

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e880" data-title="Field Name"><span class="keyword parmname">quickActionLayoutColumns</span></td>

              <td class="entry" headers="d783215e883" data-title="Field Type">
                <a class="xref" href="#quickActionLayoutColumn_title">QuickActionLayoutColumn</a>[]
              </td>

              <td class="entry" headers="d783215e886" data-title="Description">Specifies columns in a <a class="xref" href="#quickActionLayout_title">QuickActionLayout</a>.</td>

            </tr>

          </tbody>

        </table>

## QuickActionLayoutColumn

A column defined for a [QuickActionLayout](#quickActionLayout_title).

| Field Name | Field Type | Description |
| --- | --- | --- |
| quickActionLayoutItems | [QuickActionLayoutItem](#quickActionLayoutItem_title) \[\] | Specifies row items in a [QuickActionLayoutColumn](#quickActionLayoutColumn_title). |

## QuickActionLayoutItem

A row item comprised of fields and defined for a [QuickActionLayoutColumn](#quickActionLayoutColumn_title).

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



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d783215e1041">Field Name</th>

              <th class="featureTableHeader  " id="d783215e1044">Field Type</th>

              <th class="featureTableHeader  " id="d783215e1047">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d783215e1041" data-title="Field Name"><span class="keyword parmname">emptySpace</span></td>

              <td class="entry" headers="d783215e1044" data-title="Field Type">boolean</td>

              <td class="entry" headers="d783215e1047" data-title="Description">Controls if this layout item is a blank space (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>).</td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e1041" data-title="Field Name"><span class="keyword parmname">field</span></td>

              <td class="entry" headers="d783215e1044" data-title="Field Type">string</td>

              <td class="entry" headers="d783215e1047" data-title="Description">Represents a specific field in <a class="xref" href="#quickActionLayoutItem_title">QuickActionLayoutItem</a>.</td>

            </tr>

            <tr>
              <td class="entry" headers="d783215e1041" data-title="Field Name"><span class="keyword parmname">uiBehavior</span></td>

              <td class="entry" headers="d783215e1044" data-title="Field Type">UiBehavior (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)</td>

              <td class="entry" headers="d783215e1047" data-title="Description">Specifies user input behavior for specific fields in <a class="xref" href="#quickActionLayoutItem_title">QuickActionLayoutItem</a>. The
                valid values are:<a name="ul_k3z_rtt_w2c"><!-- --></a>
                <ul class="ul bulletList" id="ul_k3z_rtt_w2c">
                  <li class="li"><samp class="codeph nolang">Edit</samp></li>

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

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

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## QuickActionParameter

Represents the input and output of the associated quick action. Available in API version 63.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| name | string | Required. Name of the parameter. |
| type | QuickActionParameterType ([enumeration](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title) of type string) | Required. Input is the only valid value. |
| value | string | Represents the value associated with the given parameter name. |

## Declarative Metadata Sample Definition

The following is an example of a [QuickAction](#meta_quickaction "Represents a specified create or update quick action for an object that then becomes available in the Chatter publisher. For example, you can create an action that, on the detail page of an account, allows a user to create a contact related to that account from the Chatter feed on that page. QuickAction can be created on objects that permit custom fields.") component:

<?xml version="1.0" encoding="UTF-8"?>
<QuickAction xmlns="http://soap.sforce.com/2006/04/metadata">
    <description\>testActionDefinitionTypesCreateTask</description\>
    <label\>testActionDefinitionTypesCreateTask</label\>
    <optionsCreateFeedItem\>true</optionsCreateFeedItem\>
    <quickActionLayout\>
        <layoutSectionStyle\>TwoColumnsLeftToRight</layoutSectionStyle\>
        <quickActionLayoutColumns\>
            <quickActionLayoutItems\>
                <emptySpace\>false</emptySpace\>
                <field\>OwnerId</field\>
                <uiBehavior\>Required</uiBehavior\>
            </quickActionLayoutItems\>
            <quickActionLayoutItems\>
                <emptySpace\>false</emptySpace\>
                <field\>WhoId</field\>
                <uiBehavior\>Edit</uiBehavior\>
            </quickActionLayoutItems\>
            <quickActionLayoutItems\>
                <emptySpace\>false</emptySpace\>
                <field\>WhatId</field\>
                <uiBehavior\>Edit</uiBehavior\>
            </quickActionLayoutItems\>
            <quickActionLayoutItems\>
                <emptySpace\>false</emptySpace\>
                <field\>ActivityDate</field\>
                <uiBehavior\>Edit</uiBehavior\>
            </quickActionLayoutItems\>
            <quickActionLayoutItems\>
                <emptySpace\>false</emptySpace\>
                <field\>Subject</field\>
                <uiBehavior\>Edit</uiBehavior\>
            </quickActionLayoutItems\>
            <quickActionLayoutItems\>
                <emptySpace\>false</emptySpace\>
                <field\>Status</field\>
                <uiBehavior\>Required</uiBehavior\>
            </quickActionLayoutItems\>
            <quickActionLayoutItems\>
                <emptySpace\>false</emptySpace\>
                <field\>Priority</field\>
                <uiBehavior\>Required</uiBehavior\>
            </quickActionLayoutItems\>
        </quickActionLayoutColumns\>
        <quickActionLayoutColumns/\>
    </quickActionLayout\>
    <successMessage\>This is a success message</successMessage\>
    <targetObject\>Task</targetObject\>
    <targetParentField\>What</targetParentField\>
    <type\>Create</type\>
</QuickAction\>

## Wildcard Support in the Manifest File

This metadata type supports the wildcard character \* (asterisk) in the package.xml manifest file. For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).