---
schema_version: "1"
id: f15364da977e90e0180c354f49e4e34e07a7838cc000fdfca98ee08999529cdd
title: FlexiPage
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_flexipage.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_flexipage.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 97566c634d34d846e8555ba68fbc748c0731a155c0fef5be0ebf49f276f01f07
description: Represents the metadata associated with a Lightning page. A Lightning page represents a customizable screen made up of regions containing Lightning components.
---
# FlexiPage

Represents the metadata associated with a Lightning page. A Lightning page represents a customizable screen made up of regions containing Lightning components.

![Important](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note_important.png)

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

This type extends the [Metadata](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/metadata.htm "The base class for all metadata types. You can’t edit this object. A component is an instance of a metadata type.") metadata type and inherits its fullName field.

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png)

#### Note

These pages are known as FlexiPages in the API, but are referred to as Lightning pages in the rest of the Salesforce documentation and UI.

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png)

#### Note

In API version 49.0 and later, arrays in a FlexiPage are represented as valueList. Each array element is represented as valueListItem, and the element name is represented as value. In API version 48.0 and earlier, arrays are represented as value and array elements are formatted as a comma-separated list. Any FlexiPage retrieved using API version 49.0 or later uses valueList to represent component property array values, regardless of which API version was used to create the FlexiPage.

Lightning pages are used in several places.

- In the Salesforce mobile app, a Lightning page is the home page for an app that appears in the navigation menu.
- In Lightning Experience, Lightning pages can be used:
    - To customize the layout of record pages, the Salesforce Home page, and the Email Application pane in the Outlook and Gmail integrations.
    - As the home page for an app.
    - As the utility bar for a Lightning app.

For more information on Lightning pages, see Salesforce Help.

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png)

#### Note

The namespace prefix is important to help identify the source of items like fields, custom objects, and more. For example, when working with FlexiPages, we recommend keeping namespaces for object fields, because removing them can cause unexpected results such as name collisions.

## File Suffix and Directory Location

FlexiPage components have the suffix .flexipage and are stored in the flexipages folder.

## Version

FlexiPage components are available in API version 29.0 and later.

## Fields

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d509382e161" data-title="Description"><span class="ph" id="flexipage_description_field_desc"><a name="flexipage_description_field_desc"><!-- --></a>The optional description text
                  of the Lightning page.</span></td>

            </tr>

            <tr>
              <td class="entry" headers="d509382e155" data-title="Field Name">events</td>

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

              <td class="entry" headers="d509382e161" data-title="Description">The list of events associated with the Lightning page.<p class="p">This field is
                  available in API version 53.0 and later.</p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d509382e161" data-title="Description">The list of regions of a page.</td>

            </tr>

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

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

              <td class="entry" headers="d509382e161" data-title="Description">Required. The label for the Lightning page, which displays in
                Setup.</td>

            </tr>

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

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

              <td class="entry" headers="d509382e161" data-title="Description">Deprecated. Use this field in API versions 33.0 to 38.0 only. In later
                versions, use <span class="keyword parmname">template</span>.<p class="p">Required. <span class="ph" id="flexipage_pagetemplate_field_desc"><a name="flexipage_pagetemplate_field_desc"><!-- --></a>The template associated with
                    the Lightning page.</span></p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d509382e161" data-title="Description">The name of the Lightning page that this page inherits behavior
                from.<p class="p">This field is available in API version 37.0 or later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d509382e158" data-title="Field Type"><a class="xref" href="#PlatformActionList">PlatformActionList</a></td>

              <td class="entry" headers="d509382e161" data-title="Description">The list of all actions, and their order, that display on a Lightning
                app page. In the Salesforce mobile app, the actions appear in the action
                bar.<p class="p">This field is available in API version 34.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d509382e158" data-title="Field Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_layouts.htm#QuickActionList">QuickActionList</a></td>

              <td class="entry" headers="d509382e161" data-title="Description">The list of quick actions associated with the Lightning page.</td>

            </tr>

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

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

              <td class="entry" headers="d509382e161" data-title="Description">
                <span class="ph" id="flexipage_sobjecttype_defn"><a name="flexipage_sobjecttype_defn"><!-- --></a>The object the Lightning page is
                  associated with. For Lightning pages of type <samp class="codeph nolang">AppPage</samp> or <samp class="codeph nolang">HomePage</samp>,
                  this field is <samp class="codeph nolang">null</samp>.</span>
                <p class="p">After the
                  value of this field is set, it can’t be changed.</p>
                <p class="p">This field is
                  available in API version 37.0 or later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d509382e155" data-title="Field Name"><span class="keyword parmname" id="field_template_name"><a name="field_template_name"><!-- --></a>template</span></td>

              <td class="entry" headers="d509382e158" data-title="Field Type"><a class="xref" href="#FlexiPageTemplateInstance">FlexiPageTemplateInstance</a></td>

              <td class="entry" headers="d509382e161" data-title="Description">
                <span class="ph" id="field_template_desc"><a name="field_template_desc"><!-- --></a>Required. The template associated with the
                  Lightning page.</span>
                <p class="p">This field is available in API version 39.0 and
                  later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d509382e158" data-title="Field Type">FlexiPageType (<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="d509382e161" data-title="Description">
                <span class="ph" id="rn_192_flexipage_type_defn"><a name="rn_192_flexipage_type_defn"><!-- --></a>Required. The type of a page. In API
                  versions 32.0 through 36.0, this field can only have a value of <samp class="codeph nolang">AppPage</samp>.</span>
                <div class="p">Valid values are:<a name="flexipage_type_valid_values"><!-- --></a>
                  <ul class="ul bulletList" id="flexipage_type_valid_values">
                    <li class="li">
                      <samp class="codeph nolang">CdpRecordPage</samp>—A Lightning
                      page that is used to override a CDPNearCoreObject record page in
                      Lightning Experience. This value is available in API version 54.0
                      and later for orgs that have <span class="ph">Data 360</span>
                      enabled.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">AppPage</samp>—A Lightning page that
                      is used as the home page for a custom app.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">CommAppPage</samp>—A Lightning page
                      that is used to represent a custom page, as created in the
                      Experience Builder. This value is available in API version 37.0 and
                      later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">CommContractDetailViewPage</samp>—This value is available in API
                      version 64.0 and later.
                    </li>

                    <li class="li">
                      <span class="ph" id="CommCheckoutPage_desc"><a name="CommCheckoutPage_desc"><!-- --></a><samp class="codeph nolang">CommCheckoutPage</samp>—A Lightning page that is used to
                        create a B2B Commerce checkout, as created in the Experience
                        Builder.</span> This value is available in API version 46.0 and
                      later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">CommFlowPage</samp> A Lightning page
                      used to override a flow page, as created in the Experience Builder.
                      This value is available in API version 45.0 and later.
                    </li>

                    <li class="li">
                      <span class="ph" id="CommForgotPasswordPage_desc"><a name="CommForgotPasswordPage_desc"><!-- --></a><samp class="codeph nolang">CommForgotPasswordPage</samp>—A Lightning page that’s used
                        to override a forgot-password page, as created in Experience
                        Builder.</span> This value is available in API version 39.0 and
                      later.
                    </li>

                    <li class="li">
                      <span class="ph" id="CommFlowPage_desc"><a name="CommFlowPage_desc"><!-- --></a><samp class="codeph nolang">CommFlowPage</samp>—An out-of-the-box flow page, as
                        created in Experience Builder</span>. This value is available in
                      API version 45.0 and later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">CommGlobalSearchResultPage</samp> A
                      Lightning page used to override the global search result page, as
                      created in Experience Builder. This value is available in API
                      version 41.0 and later.
                    </li>

                    <li class="li">
                      <span class="ph" id="CommLoginPage_desc"><a name="CommLoginPage_desc"><!-- --></a><samp class="codeph nolang">CommLoginPage</samp>—A Lightning page that’s used to
                        override the login page, as created in Experience Builder.</span>
                      This value is available in API version 39.0 and later.
                    </li>

                    <li class="li">
                      <span class="ph" id="CommNoSearchResultsPage_desc"><a name="CommNoSearchResultsPage_desc"><!-- --></a><samp class="codeph nolang">CommNoSearchResultsPage</samp>—An Experience Builder site
                        page for B2B searches that return no results. The URL for this
                        page is <span class="ph filepath">no-results/:term</span>. The page starts
                        out empty. You can add any component to it that accepts
                        parameters to achieve the desired “no results” experience. For
                        example, you can place an HTML Editor component or CMS
                        components for recommendations, banners, help, and support.</span>
                      This value is available in API version 48.0 and later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">CommObjectPage</samp>—A Lightning
                      page used to override an object page, as created in Experience
                      Builder. This value is available in API version 38.0 and
                      later.
                    </li>

                    <li class="li">
                      <span class="ph" id="CommOrderComfirmationPage_desc"><a name="CommOrderComfirmationPage_desc"><!-- --></a><samp class="codeph nolang">CommOrderComfirmationPage</samp>—A
                        Lightning page that is used to create a B2B Commerce order
                        confirmation page in checkout, as created in the Experience
                        Builder.</span> This value is available in API version 46.0 and
                      later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">CommQuickActionCreatePage</samp>—A
                      Lightning page used to override the create record page, as created
                      in Experience Builder. This value is available in API version 38.0
                      and later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">CommRecordPage</samp>—A Lightning
                      page used to override a record page, as created in the Experience
                      Builder. This value is available in API version 38.0 and
                      later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">CommRelatedListPage</samp>—A
                      Lightning page used to override a related list page, as created in
                      the Experience Builder. This value is available in API version 38.0
                      and later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">CommSearchResultPage</samp>—A
                      Lightning page used to override the search result page, as created
                      in Experience Builder. This value is available in API version 38.0
                      and later.
                    </li>

                    <li class="li">
                      <span class="ph" id="commSelfRegisterPage_desc"><a name="commSelfRegisterPage_desc"><!-- --></a><samp class="codeph nolang">CommSelfRegisterPage</samp>—A Lightning page used to
                        override the self-registration page, as created in Experience
                        Builder.</span> This value is available in API version 39.0 and
                      later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">CommThemeLayoutPage</samp>—A
                      Lightning page used to override a theme layout page, as created in
                      the Experience Builder. This value is available in API version 38.0
                      and later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">EmbeddedServicePage</samp> This
                      value is available in API version 45.0 and later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">EmailContentPage</samp> — A page
                      that contains the builder markup for your email content. When you
                      edit email content in the builder, the FlexiPage object remembers
                      where you put the components. <p class="p">Because they include builder
                        markup, you can't retrieve or deploy FlexiPages when type is
                        EmailContentPage.</p>
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">EmailTemplatePage</samp> — A page
                      that contains the builder markup for your email template. When you
                      edit an email template in the builder, the FlexiPage object
                      remembers where you put the components. <p class="p">Because they include
                        builder markup, you can't retrieve or deploy FlexiPages when
                        type is EmailTemplatePage or EmailContentPage.</p>
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">ForecastingPage</samp> —A Lightning
                      page that is used to override the default forecasts page in
                      Lightning Experience. This value is available in API version 57.0
                      and later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">HomePage</samp>—A Lightning page
                      that is used to override the Home page in Lightning Experience.
                      This value is available in API version 37.0 and later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">MailAppAppPage</samp>—An email
                      application pane used to override the default layout in the Outlook
                      and Gmail integrations. This value is available in API version 38.0
                      and later.
                    </li>
                    <li class="li">
                      <samp class="codeph nolang">OmniSupervisorPageType—</samp>A
                      Lightning page used to customize the user interface on the
                      Omni-Channel Supervisor page. This value is available in API
                      version 60.0 and later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">QuickAction</samp>—A Lightning page
                      used to customize the fields and layout for a quick action. This
                      value is available as a Beta in API version 68.0 and later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">RecordPage</samp>—A Lightning page
                      used to override an object record page in Lightning Experience.
                      This value is available in API version 37.0 and later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">RecordPreview</samp>—A Lightning
                      page used to override standard lookup previews when hovering over
                      previewable records in Lightning Experience. This value is
                      available in API version 45.0 and later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">UtilityBar</samp>—A Lightning page
                      used as the utility bar in Lightning Experience apps. This value is
                      available in API version 38.0 and later.
                    </li>

                    <li class="li">
                      <samp class="codeph nolang">VoiceExtension</samp>—A Lightning
                      page used to customize user interfaces and agent actions in the
                      Omni-Channel widget for Service Cloud Voice. This value is
                      available in API version 57.0 and later.
                    </li>

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

            </tr>

          </tbody>

        </table>

## FlexiPageEvent

An event associated with the Lightning page. Available in API version 53.0 and later.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d509382e586" data-title="Description">Required. The name of the event source item. If the source is a custom
                Lightning web component, this field is the name of the component.<p class="p">In API
                  53.0, a source can be only a Lightning web component.</p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d509382e586" data-title="Description">The list of properties associated with the event source.</td>

            </tr>

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

              <td class="entry" headers="d509382e583" data-title="Field Type">FlexipageEventSourceTypeEnum (<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="d509382e586" data-title="Description">Required. The type of item assigned as the event source. <p class="p">In API
                  version 53.0, this field can have only a value of <samp class="codeph nolang">Component</samp>.</p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d509382e586" data-title="Description">The list of targets associated with the event source.</td>

            </tr>

          </tbody>

        </table>

## FlexiPageEventSourceProperty

A property associated with an event. Available in API version 53.0 and later.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d509382e695" data-title="Description">Required. In API version 53.0 and later, the value of this field can be
                only <samp class="codeph nolang">eventName</samp>.</td>

            </tr>

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

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

              <td class="entry" headers="d509382e695" data-title="Description">Required. If the <span class="keyword parmname">name</span> field value is <samp class="codeph nolang">eventName</samp>, this field is the name of the
                event.<p class="p">If the event source is a Lightning web component, this value
                  must be the same as the event name defined in the source component’s
                  <span class="ph filepath">js-meta.xml</span> file.
                </p>
              </td>

            </tr>

          </tbody>

        </table>

## FlexiPageEventTarget

A target associated with an event source on the Lightning page. Available in API version 53.0 and later.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d509382e775" data-title="Description">A list of key-value pairs for an event’s source-to-target
                bindings.</td>

            </tr>

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

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

              <td class="entry" headers="d509382e775" data-title="Description">Required. <p class="p">The only valid value is <samp class="codeph nolang">updateProperties</samp>.</p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d509382e775" data-title="Description">Required. The name of the event target. <div class="p">Valid values are: <ul class="ul bulletList">
                    <li class="li"><samp class="codeph nolang">flexipage:componentService</samp></li>

                  </ul>
                </div>
              </td>

            </tr>

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

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

              <td class="entry" headers="d509382e775" data-title="Description">List of properties of the event target.</td>

            </tr>

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

              <td class="entry" headers="d509382e772" data-title="Field Type">FlexiPageEventTargetTypeEnum (<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="d509382e775" data-title="Description">Required. The type of item assigned as the event target. <div class="p">Valid values are:<ul class="ul bulletList">
                    <li class="li">
                      <samp class="codeph nolang">FlexipageServices</samp>—A
                      component on the Lightning page.
                    </li>
                  </ul>
                </div>
              </td>

            </tr>

          </tbody>

        </table>

## FlexiPageEventPropertyMapping

A key-value pair for an event’s source-to-target bindings. Available in API version 53.0 and later.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d509382e912" data-title="Description">Required. Name of the target property that changes when the event is
                triggered.</td>

            </tr>

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

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

              <td class="entry" headers="d509382e912" data-title="Description">Value of the target property when the event occurs. <p class="p">For properties of
                  type string, integer, and boolean, you can use an expression to define
                  their value. Valid expression format is <samp class="codeph nolang">{!Event.eventPropertyName}</samp>. Event is the only context
                  supported for expressions in interactions.</p>
              </td>

            </tr>

          </tbody>

        </table>

## FlexiPageEventTargetProperty

A property on the event source’s target represented as a key-value pair. Available in API version 53.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| name | string | Required. In API version 53.0 and later, the value of this field can be only componentIdentifier |
| value | string | Required. The [ComponentInstance](#ComponentInstance) identifier value for the component. |

## FlexiPageRegion

FlexiPage Region represents the properties of a region of a page. A region can contain a record list component or a recent items component that can be scoped to a set of entities.

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png)

#### Note

A Lightning page region can contain up to 100 components.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d509382e1058" data-title="Field Type">RegionFlagStatus (<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="d509382e1061" data-title="Description">This field is available in Digital Experiences in API 45.0 or later, but
                is reserved for future use for all other areas.<div class="p">Valid values are: <ul class="ul bulletList">
                    <li class="li"><samp class="codeph nolang">disabled</samp></li>

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

                  </ul>
                </div>
                <div class="p">This field is assessed in combination with
                  <span class="keyword parmname">replaceable</span> and <span class="keyword parmname">prependable</span>
                  <ul class="ul bulletList">
                    <li class="li">If all the properties are set to <samp class="codeph nolang">enabled</samp>, the region is unlocked</li>

                    <li class="li">If all the properties are set to <samp class="codeph nolang">disabled</samp>, the region is locked</li>

                    <li class="li"> If none of the properties are specified OR any of these three
                      properties are missing, the region is unlocked.</li>

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

            </tr>

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

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

              <td class="entry" headers="d509382e1061" data-title="Description">
                <span class="ph" id="component_instance_descr"><a name="component_instance_descr"><!-- --></a>Properties and name of the component
                  instance.</span>
                <p class="p">This field was removed in API version 49.0. In API
                  version 49.0 and later, use the <span class="keyword parmname">itemInstances</span> field
                  instead.</p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d509382e1061" data-title="Description">Array of item instances, which can contain components and fields.<p class="p">This
                  field is available in API version 49.0 or later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d509382e1058" data-title="Field Type">FlexiPageRegionMode (<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="d509382e1061" data-title="Description">This field is reserved for future use.<div class="p">Valid values are: <ul class="ul bulletList">
                    <li class="li"><samp class="codeph nolang">Append</samp></li>

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

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

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

            </tr>

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

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

              <td class="entry" headers="d509382e1061" data-title="Description">Required. Unique name of the FlexiPage region.</td>

            </tr>

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

              <td class="entry" headers="d509382e1058" data-title="Field Type">RegionFlagStatus (<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="d509382e1061" data-title="Description">This field is available in Digital Experiences in API 45.0 or later, but
                is reserved for future use for all other areas.<div class="p">Valid values are: <ul class="ul bulletList">
                    <li class="li"><samp class="codeph nolang">disabled</samp></li>

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

                  </ul>
                </div>
                <div class="p">This field is assessed in combination with
                  <span class="keyword parmname">appendable</span> and <span class="keyword parmname">replaceable</span>.<ul class="ul bulletList">
                    <li class="li">If all the properties are set to <samp class="codeph nolang">enabled</samp>, the region is unlocked</li>

                    <li class="li">If all the properties are set to <samp class="codeph nolang">disabled</samp>, the region is locked</li>

                    <li class="li"> If none of the properties are specified OR any of these three
                      properties are missing, the region is unlocked.</li>

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

            </tr>

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

              <td class="entry" headers="d509382e1058" data-title="Field Type">RegionFlagStatus (<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="d509382e1061" data-title="Description">This field is available in Digital Experiences in API 45.0 or later, but
                is reserved for future use for all other areas.<div class="p">Valid values are: <ul class="ul bulletList">
                    <li class="li"><samp class="codeph nolang">disabled</samp></li>

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

                  </ul>
                </div>
                <div class="p">This field is assessed in combination with
                  <span class="keyword parmname">appendable</span> and <span class="keyword parmname">prependable</span>.<ul class="ul bulletList">
                    <li class="li">If all the properties are set to <samp class="codeph nolang">enabled</samp>, the region is unlocked</li>

                    <li class="li">If all the properties are set to <samp class="codeph nolang">disabled</samp>, the region is locked</li>

                    <li class="li"> If none of the properties are specified OR any of these three
                      properties are missing, the region is unlocked.</li>

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

            </tr>

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

              <td class="entry" headers="d509382e1058" data-title="Field Type">FlexiPageRegionType (<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="d509382e1061" data-title="Description">Required. The type of FlexiPage region.<div class="p">Valid values are: <ul class="ul bulletList">
                    <li class="li">
                      <samp class="codeph nolang">Background</samp>—Represents
                      a region for background utility items, which aren’t visible in the
                      UI. Supported for utility bars only.
                    </li>

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

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

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

            </tr>

          </tbody>

        </table>

## ItemInstance

Instance of a component or field on a Lightning page. Available in API version 49.0 or later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| componentInstance | [ComponentInstance](#ComponentInstance) | Properties and name of the component instance. |
| fieldInstance | [FieldInstance](#FieldInstance) | API name, label, and visibility rule information of the field component. This field is available only on Lightning pages that use Dynamic Forms. |

## ComponentInstance

Instance of a component in a page, such as a filter list.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d509382e1464" data-title="Description">The value of a single property in a component instance.</td>

            </tr>

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

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

              <td class="entry" headers="d509382e1464" data-title="Description">Required. The name of a single instance of a component.</td>

            </tr>

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

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

              <td class="entry" headers="d509382e1464" data-title="Description">Required. The unique name of the ComponentInstance. Provides a way to
                uniquely identify an individual instance of a component on a Lightning page.
                This field has a maximum limit of 120 characters.<p class="p">This field is available
                  in API version 53.0 and later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d509382e1461" data-title="Field Type"><a class="xref" href="#UiFormulaRule">UiFormulaRule</a></td>

              <td class="entry" headers="d509382e1464" data-title="Description">
                <span class="ph" id="visibility_rule_descr"><a name="visibility_rule_descr"><!-- --></a>A set of one or more filters that define
                  the conditions under which the component displays on the page.</span>
                <p class="p" id="visibility_rule_descr2"><a name="visibility_rule_descr2"><!-- --></a>If the rule evaluates to <samp class="codeph nolang">true</samp>, the component displays on the page.
                  If <samp class="codeph nolang">false</samp>, it doesn't display. If
                  this field is <samp class="codeph nolang">null</samp>, the component
                  displays by default.</p>
                <p class="p">This field is available in API version 41.0
                  and later.</p>
              </td>

            </tr>

          </tbody>

        </table>

## ComponentInstanceProperty

Value of a single property in a component instance. ComponentInstanceProperty has a maximum limit of 10,000 characters.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d509382e1577" data-title="Description">Name of the property, unique within the component instance. For
                Lightning components, this value is the
                <span class="ph filepath">&lt;aura:attribute&gt;</span> as defined in the
                <span class="ph filepath">.cmp</span> file.
              </td>

            </tr>

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

              <td class="entry" headers="d509382e1574" data-title="Field Type">ComponentInstancePropertyTypeEnum (<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="d509382e1577" data-title="Description">
                <span class="ph" id="componentinstanceproperty_type_field_desc1"><a name="componentinstanceproperty_type_field_desc1"><!-- --></a>If this field value
                  is <samp class="codeph nolang">null</samp>, then the
                  ComponentInstanceProperty values apply to the Lightning component. If
                  this field value is <samp class="codeph nolang">decorator</samp>, then
                  the ComponentInstanceProperty values apply to the <dfn class="term">component
                    decorator</dfn> for the Lightning component.</span>
                <p class="p" id="componentinstanceproperty_type_field_desc2"><a name="componentinstanceproperty_type_field_desc2"><!-- --></a>The component decorator
                  is a wrapper around a Lightning component. The decorator can apply more
                  capabilities to the component when it renders on a specific page in
                  Lightning Experience. For example, you can configure a component
                  decorator around a component on the Lightning Experience utility bar to
                  set the component’s height or width when opened. The <samp class="codeph nolang">UtilityBar</samp> is the only page type that
                  supports component decorators.</p>
                <div class="p" id="componentinstanceproperty_type_field_valid_values">
                  <a name="componentinstanceproperty_type_field_valid_values"><!-- --></a>Valid values are: <ul class="ul bulletList">
                    <li class="li"><samp class="codeph nolang">decorator</samp></li>

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

            </tr>

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

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

              <td class="entry" headers="d509382e1577" data-title="Description">Reference or value of the property.<p class="p">When defining a Related List
                  component, to use a parent record set the <samp class="codeph nolang">parentFieldApiName</samp> value to <samp class="codeph nolang"><var class="keyword varname">object</var>.<var class="keyword varname">field_name</var></samp>.
                  If you don’t want to use a parent record, set the value to <samp class="codeph nolang"><var class="keyword varname">object</var>.Id</samp>.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d509382e1574" data-title="Field Type"><a class="xref" href="#ComponentInstancePropertyList">ComponentInstancePropertyList</a></td>

              <td class="entry" headers="d509382e1577" data-title="Description">An array of values in a component instance. Available in API version
                49.0 and later.</td>

            </tr>

          </tbody>

        </table>

**Tabs**

When you give a standard label to a tab in a Tabs component—such as Activity, Collaborate, or Details—and when the name field is set to title, the value field uses a system-defined value instead of the label. Here are some examples of the system-defined values:

- Standard.Tab.activity
- Standard.Tab.collaborate
- Standard.Tab.detail
- Standard.Tab.feed
- Standard.Tab.preview
- Standard.Tab.relatedLists

For example, let’s say you have a Lightning page that contains a tab with the standard label “Activity”. If you query the definition that page, you see the system-defined name of the tab, not the label, in value.

<componentInstances>
  <componentInstanceProperties>
    <name>title</name>
    <value>Standard.Tab.activity</value>
  </componentInstanceProperties>
    <componentName>flexipage:tab</componentName>
</componentInstances>

**Save Options**

Save options are available on pages of type RecordPage only, when users edit an account or when they create, edit, or clone a case or lead. Save options are configured as a ComponentInstanceProperty under FlexiPageTemplateInstance.

Set the ComponentInstanceProperty name to saveOptions and use value to define the checkbox values. The value field in this case is not a ComponentInstancePropertyList, but instead is a string representation of a JSON array of name and value pairs representing each checkbox name and its value.

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




          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d509382e1786">API Name</th>

              <th class="featureTableHeader  " id="d509382e1789">Available Objects</th>

              <th class="featureTableHeader  " id="d509382e1792">Available Values</th>

              <th class="featureTableHeader  " id="d509382e1795">UI Label</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d509382e1786" data-title="API Name">UseDefaultAssignmentRule</td>

              <td class="entry" headers="d509382e1789" data-title="Available Objects">Account</td>

              <td class="entry" headers="d509382e1792" data-title="Available Values">
                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">NONE</samp></li>

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

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

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

                </ul>

              </td>

              <td class="entry" headers="d509382e1795" data-title="UI Label">Evaluate this account against territory rules on save</td>

            </tr>

            <tr>
              <td class="entry" headers="d509382e1786" data-title="API Name">UseDefaultAssignmentRule</td>

              <td class="entry" headers="d509382e1789" data-title="Available Objects">Lead</td>

              <td class="entry" headers="d509382e1792" data-title="Available Values">
                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">NONE</samp></li>

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

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

                </ul>

              </td>

              <td class="entry" headers="d509382e1795" data-title="UI Label">Assign using active assignment rule</td>

            </tr>

            <tr>
              <td class="entry" headers="d509382e1786" data-title="API Name">UseDefaultAssignmentRule</td>

              <td class="entry" headers="d509382e1789" data-title="Available Objects">Case</td>

              <td class="entry" headers="d509382e1792" data-title="Available Values">
                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">NONE</samp></li>

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

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

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

                </ul>

              </td>

              <td class="entry" headers="d509382e1795" data-title="UI Label">Assign using active assignment rule</td>

            </tr>

            <tr>
              <td class="entry" headers="d509382e1786" data-title="API Name">triggerOtherEmail</td>

              <td class="entry" headers="d509382e1789" data-title="Available Objects">Case</td>

              <td class="entry" headers="d509382e1792" data-title="Available Values">
                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">NONE</samp></li>

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

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

                </ul>

              </td>

              <td class="entry" headers="d509382e1795" data-title="UI Label">Send notification email to Contact</td>

            </tr>

          </tbody>

        </table>

| Value | UI Result |
| --- | --- |
| NONE | Don’t display the checkbox and don’t apply any save options during save. |
| APPLY\_OPTION\_WITHOUT\_CHECKBOX\_DISPLAY | Don’t display the checkbox, but apply the save option value during save. |
| SHOW\_CHECKBOX\_WITH\_DEFAULT\_OFF | Display the checkbox, unchecked by default. |
| SHOW\_CHECKBOX\_WITH\_DEFAULT\_ON | Display the checkbox, checked by default. |

For example, you can set cases, when saved, to run the **Assign using active assignment rule** without displaying a checkbox, and display the **Send notification email to Contact** checkbox, checked by default.

saveOptions = \[{"name":"UseDefaultAssignmentRule","value":"APPLY\_OPTION\_WITHOUT\_CHECKBOX\_DISPLAY"}, {"name":"triggerOtherEmail","value":"SHOW\_CHECKBOX\_WITH\_DEFAULT\_ON"}\]

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png)

#### Note

Set assignment rules, territory rules, and email templates before configuring them as save options.

## ComponentInstancePropertyList

Value of an element in an array in a component instance.

| Field Name | Field Type | Description |
| --- | --- | --- |
| valueListItems | [ComponentInstancePropertyListItem](#ComponentInstancePropertyListItem)\[\] | An array of elements in a component instance. |

## ComponentInstancePropertyListItem

Name of an element in an array in a component instance.

| Field Name | Field Type | Description |
| --- | --- | --- |
| value | string | Name of an element in an array in a component instance. |

In API version 49.0 and later, arrays in a FlexiPage are represented as valueList. Each array element is represented as valueListItem, and the element name is represented as value.

For example, if you have an array of actions with API names Clone and Edit, the array is represented as valueList, with two valueListItems. One valueListItems has the value Clone, and one valueListItems has the value Edit.

<componentInstances>
  <componentInstanceProperties> 
    <name>actionApiName</name>
    <valueList>
      <valueListItems>
        <value>Clone</value>
      </valueListItems>
      <valueListItems>
        <value>Edit</value>
      </valueListItems>
    </valueList>
  </componentInstanceProperties>
</componentInstances>

## UiFormulaRule

A set of one or more filters that define the conditions under which a component displays on a Lightning page. For example, you could construct a filter that causes a rich text component on an opportunity page to display only when the Amount is greater than $1,000,000. Available in API version 41.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| booleanFilter | string | Specifies advanced filter conditions such as 1 AND 2. |
| criteria | [UiFormulaCriterion\[\]](#UiFormulaCriterion) | List of one or more filters that, when evaluated, determine component visibility. |

## UiFormulaCriterion

A single filter that when evaluated, helps define component visibility on a Lightning page. Available in API version 41.0 and later.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d509382e2278" data-title="Description">Required. The field upon which the filter is based. For example, <samp class="codeph xml">AMOUNT</samp>.</td>

            </tr>

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

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

              <td class="entry" headers="d509382e2278" data-title="Description">Required. Defines the operator used to filter the data. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">CONTAINS</samp></li>

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

                  <li class="li">
                    <samp class="codeph soql">NE</samp>—not equal
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">GT</samp>—greater than
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">GE</samp>—greater than or
                    equal
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">LE</samp>—less than or
                    equal
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">LT</samp>—less than
                  </li>

                </ul>
              </td>

            </tr>

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

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

              <td class="entry" headers="d509382e2278" data-title="Description">The value by which you want to evaluate the component’s visibility. For
                example, <samp class="codeph xml">1000000</samp>.</td>

            </tr>

          </tbody>

        </table>

You can use these expressions in the leftValue field when setting filters for component visibility.

- {!$Client.FormFactor}—Use this expression to control component visibility based on the device the page is being rendered on. Valid values are Small (phone), Medium (tablet), and Large (Lightning Experience desktop). Setting the value to Small for record pages is supported only in orgs that are enabled for the new Salesforce mobile app. This expression is supported for app pages in API version 41.0 and later, and record pages in API version 47.0 and later.
- {!$Permission.CustomPermission.permissionName}—Use this expression to control component visibility based on the custom permissions of the user viewing the Lightning page. Supported for app, Home, and record pages only.
- {!$Permission.StandardPermission.permissionName}—Use this expression to control component visibility based on the standard permissions of the user viewing the Lightning page. Supported for app, Home, and record pages only.
- {!Record.field}—Supported for record pages only.
- {!$User.field}—Supported for app, Home, and record pages only.

For example, to display a component only when it renders on a phone, add this filter: {!$Client.FormFactor} EQUAL "SMALL". Or, to display a component only to the System Administrator, use {!$User.Profile.Name} EQUAL "System Administrator".

Expressions in component visibility rules can span no more than five fields. For example, {!Record.Account.Owner.Manager.Manager.Manager.LastName} has six spans and therefore isn’t supported.

## FieldInstance

Represents a single field component that resides on a Lightning page. Available in API version 49.0 and later. This subtype is available only on Lightning Pages that have enabled Dynamic Forms.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d509382e2472" data-title="Description">Properties of the field instance. Contains a name and value pair for
                each property associated with the field.</td>

            </tr>

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

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

              <td class="entry" headers="d509382e2472" data-title="Description">The API name of the field, prefixed with its context. For example,
                record fields are prefixed with <samp class="codeph nolang">Record.</samp>.</td>

            </tr>

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

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

              <td class="entry" headers="d509382e2472" data-title="Description">Required. The unique name of the FieldInstance. Provides a way to
                uniquely identify an individual instance of a field on a Dynamic
                Forms-enabled Lightning page. This field has a maximum limit of 120
                characters.<p class="p">This field is available in API version 53.0 and
                  later.</p>
              </td>

            </tr>

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

              <td class="entry" headers="d509382e2469" data-title="Field Type"><a class="xref" href="#UiFormulaRule">UiFormulaRule</a></td>

              <td class="entry" headers="d509382e2472" data-title="Description">A set of one or more filters that define the conditions under which the
                component displays on the page. If the rule evaluates to <samp class="codeph nolang">true</samp>, the component displays on the page. If
                <samp class="codeph nolang">false</samp>, it doesn't display. If this
                field is <samp class="codeph nolang">null</samp>, the component displays
                by default.
              </td>

            </tr>

          </tbody>

        </table>

## FieldInstanceProperty

Represents a single property of a field instance. Available in API version 49.0 and later. This subtype is available only on Lightning pages that have enabled Dynamic Forms.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d509382e2583" data-title="Description">Name of the property, unique within the field instance.<p class="p">Valid values
                  are:</p>
                <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">conditionalFormatRuleset</samp>
                    <p class="p">Available in API version 62.0
                      and later.</p>
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">uiBehavior</samp>
                    <p class="p">Available in API
                      version 49.0 and later.</p>
                  </li>

                </ul>
              </td>

            </tr>

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

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

              <td class="entry" headers="d509382e2583" data-title="Description">Reference or value of the property.<p class="p">When the <span class="keyword parmname">name</span>
                  value is <samp class="codeph nolang">uiBehavior</samp>, valid values
                  for this field are: </p>
                <a name="ul_bsh_yyw_jcc"><!-- --></a>
                <ul class="ul bulletList" id="ul_bsh_yyw_jcc">
                  <li class="li"><samp class="codeph nolang">None</samp></li>

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

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

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## FlexiPageTemplateInstance

FlexiPageTemplateInstance represents an instance of a Lightning page template.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d509382e2688" data-title="Description"><span class="ph" id="name_descr"><a name="name_descr"><!-- --></a>Required. The name of a single instance of a
                  template.</span></td>

            </tr>

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

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

              <td class="entry" headers="d509382e2688" data-title="Description">
                <span class="ph" id="properties_descr"><a name="properties_descr"><!-- --></a>The value of a single property in a template
                  instance.</span>
                <div class="p">Valid only for: <ul class="ul bulletList">
                    <li class="li"><samp class="codeph nolang">CommThemeLayoutPage</samp></li>

                    <li class="li">Dynamic Forms-enabled pages of type <samp class="codeph nolang">RecordPage</samp> that are associated with account, case, or
                      lead objects</li>

                  </ul>
                </div>
                <p class="p"> Contains a name and value pair for each theme layout
                  property associated with the page template. In Experience Builder, the
                  theme layout and its properties appear in the Theme area.</p>
              </td>

            </tr>

          </tbody>

        </table>

## PlatformActionList

PlatformActionList represents the list of actions, and their order, that display on a Lightning app page. Available in API version 34.0 and later.

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



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

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

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

            </tr>

          </thead>

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

              <td class="entry" headers="d509382e2774" data-title="Field Type">PlatformActionListContext (<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="d509382e2777" data-title="Description">Required. The context of the action list. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Assistant</samp></li>

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

                  <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">FeedElement</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">ListViewDefinition</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">MruRow</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>

            </tr>

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

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

              <td class="entry" headers="d509382e2777" data-title="Description">The actions in the PlatformActionList.</td>

            </tr>

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

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

              <td class="entry" headers="d509382e2777" data-title="Description">When the <span class="keyword parmname">ActionListContext</span> is RelatedList or
                RelatedListRecord, this field represents the API name of the related list
                to which the action belongs.</td>

            </tr>

          </tbody>

        </table>

## PlatformActionListItem

PlatformActionListItem represents an action in the PlatformActionList. Available in API version 34.0 and later.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d509382e2948" data-title="Description">Required. The API name for the action in the list.</td>

            </tr>

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

              <td class="entry" headers="d509382e2945" data-title="Field Type">PlatformActionType (<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="d509382e2948" data-title="Description">Required. The type of action. Valid values are: <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">ActionLink</samp>—An indicator
                    on a feed element that targets an API, a web page, or a file,
                    represented by a button in the Salesforce Chatter feed UI.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">CustomButton</samp>—When
                    clicked, opens a URL or a Visualforce page in a window or executes
                    JavaScript.
                  </li>

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

                  <li class="li">
                    <samp class="codeph nolang">ProductivityAction</samp>—Productivity actions are
                    predefined and attached to a limited set of objects. Productivity
                    actions include Send Email, Call, Map, View Website, and Read News.
                    Except for the Call action, you can’t edit productivity actions.
                  </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
                    predefined Salesforce button such as New, Edit, and Delete.
                  </li>

                </ul>
              </td>

            </tr>

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

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

              <td class="entry" headers="d509382e2948" data-title="Description">Required. The placement of the action in the list.</td>

            </tr>

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

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

              <td class="entry" headers="d509382e2948" data-title="Description">The subtype of the action. For quick actions, the subtype is <samp class="codeph nolang">QuickActionType</samp>. For custom buttons, the
                subtype is <samp class="codeph nolang">WebLinkTypeEnum</samp>. For
                action links, subtypes are <samp class="codeph nolang">Api</samp>,
                <samp class="codeph nolang">ApiAsync</samp>, <samp class="codeph nolang">Download</samp>, and <samp class="codeph nolang">Ui</samp>. Standard buttons and productivity actions have no
                subtype.
              </td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

Here’s a sample XML FlexiPage component definition for a custom opportunity record page. It includes a tab set and a rich text component with visibility rules assigned to it.

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png)

#### Note

As an Experience Builder site page, three initial regions in the definition show the header region as locked, the content region as unlocked, and the footer region as unlocked.

<?xml version="1.0" encoding="UTF-8"?>
<FlexiPage xmlns="http://soap.sforce.com/2006/04/metadata">
    <flexiPageRegions\>
        <itemInstances\>
            <componentInstance\>
                <componentInstanceProperties\>
                    <name\>collapsed</name\>
                    <value\>false</value\>
                </componentInstanceProperties\>
                <componentInstanceProperties\>
                    <name\>hideChatterActions</name\>
                    <value\>false</value\>
                </componentInstanceProperties\>
                <componentInstanceProperties\>
                    <name\>numVisibleActions</name\>
                    <value\>3</value\>
                </componentInstanceProperties\>
                <componentName\>force:highlightsPanel</componentName\>
            </componentInstance\>
        </itemInstances\>
        <name\>header</name\>
        <type\>Region</type\>
    </flexiPageRegions\>
    <flexiPageRegions\>
        <itemInstances\>
            <componentInstance\>
                <componentInstanceProperties\>
                    <name\>hideUpdateButton</name\>
                    <value\>false</value\>
                </componentInstanceProperties\>
                <componentInstanceProperties\>
                    <name\>variant</name\>
                    <value\>linear</value\>
                </componentInstanceProperties\>
                <componentName\>runtime\_sales\_pathassistant:pathAssistant</componentName\>
            </componentInstance\>
        </itemInstances\>
        <name\>subheader</name\>
        <type\>Region</type\>
    </flexiPageRegions\>
    <flexiPageRegions\>
        <itemInstances\>
            <componentInstance\>
                <componentInstanceProperties\>
                    <name\>entityNames</name\>
                    <valueList\>
                        <valueListItems\>
                            <value\>Opportunity</value\>
                        </valueListItems\>
                    </valueList\>
                </componentInstanceProperties\>
                <componentInstanceProperties\>
                    <name\>maxRecords</name\>
                    <value\>3</value\>
                </componentInstanceProperties\>
                <componentName\>flexipage:recentItems</componentName\>
            </componentInstance\>
        </itemInstances\>
        <name\>Facet-afbed70e-277a-41f5-9919-34651ff97773</name\>
        <type\>Facet</type\>
    </flexiPageRegions\>
    <flexiPageRegions\>
        <itemInstances\>
            <componentInstance\>
                <componentInstanceProperties\>
                    <name\>relatedListComponentOverride</name\>
                    <value\>NONE</value\>
                </componentInstanceProperties\>
                <componentName\>force:relatedListContainer</componentName\>
            </componentInstance\>
        </itemInstances\>
        <name\>facet-77f21b6f-ad73-4d79-838a-79e0df27cc63</name\>
        <type\>Facet</type\>
    </flexiPageRegions\>
    <flexiPageRegions\>
        <itemInstances\>
            <componentInstance\>
                <componentName\>force:detailPanel</componentName\>
            </componentInstance\>
        </itemInstances\>
        <name\>facet-c22fcfa7-d6f2-46ab-ac03-6c92e7398da1</name\>
        <type\>Facet</type\>
    </flexiPageRegions\>
    <flexiPageRegions\>
        <itemInstances\>
            <componentInstance\>
                <componentName\>runtime\_sales\_activities:activityPanel</componentName\>
            </componentInstance\>
        </itemInstances\>
        <name\>Facet-u9v2x6h8u4k</name\>
        <type\>Facet</type\>
    </flexiPageRegions\>
    <flexiPageRegions\>
        <itemInstances\>
            <componentInstance\>
                <componentInstanceProperties\>
                    <name\>body</name\>
                    <value\>Facet-afbed70e-277a-41f5-9919-34651ff97773</value\>
                </componentInstanceProperties\>
                <componentInstanceProperties\>
                    <name\>title</name\>
                    <value\>Recent Items</value\>
                </componentInstanceProperties\>
                <componentName\>flexipage:tab</componentName\>
            </componentInstance\>
        </itemInstances\>
        <itemInstances\>
            <componentInstance\>
                <componentInstanceProperties\>
                    <name\>active</name\>
                    <value\>true</value\>
                </componentInstanceProperties\>
                <componentInstanceProperties\>
                    <name\>body</name\>
                    <value\>facet-77f21b6f-ad73-4d79-838a-79e0df27cc63</value\>
                </componentInstanceProperties\>
                <componentInstanceProperties\>
                    <name\>title</name\>
                    <value\>Standard.Tab.relatedLists</value\>
                </componentInstanceProperties\>
                <componentName\>flexipage:tab</componentName\>
            </componentInstance\>
        </itemInstances\>
        <itemInstances\>
            <componentInstance\>
                <componentInstanceProperties\>
                    <name\>body</name\>
                    <value\>facet-c22fcfa7-d6f2-46ab-ac03-6c92e7398da1</value\>
                </componentInstanceProperties\>
                <componentInstanceProperties\>
                    <name\>title</name\>
                    <value\>Standard.Tab.detail</value\>
                </componentInstanceProperties\>
                <componentName\>flexipage:tab</componentName\>
            </componentInstance\>
        </itemInstances\>
        <itemInstances\>
            <componentInstance\>
                <componentInstanceProperties\>
                    <name\>body</name\>
                    <value\>Facet-u9v2x6h8u4k</value\>
                </componentInstanceProperties\>
                <componentInstanceProperties\>
                    <name\>title</name\>
                    <value\>Standard.Tab.activity</value\>
                </componentInstanceProperties\>
                <componentName\>flexipage:tab</componentName\>
            </componentInstance\>
        </itemInstances\>
        <name\>facet-27334405-c871-463f-bc20-b3713bbb4884</name\>
        <type\>Facet</type\>
    </flexiPageRegions\>
    <flexiPageRegions\>
        <itemInstances\>
            <componentInstance\>
                <componentInstanceProperties\>
                    <name\>tabs</name\>
                    <value\>facet-27334405-c871-463f-bc20-b3713bbb4884</value\>
                </componentInstanceProperties\>
                <componentName\>flexipage:tabset</componentName\>
            </componentInstance\>
        </itemInstances\>
        <name\>main</name\>
        <type\>Region</type\>
    </flexiPageRegions\>
    <flexiPageRegions\>
        <itemInstances\>
            <componentInstance\>
                <componentInstanceProperties\>
                    <name\>decorate</name\>
                    <value\>true</value\>
                </componentInstanceProperties\>
                <componentInstanceProperties\>
                    <name\>richTextValue</name\>
                    <value\>&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); font-size: 18px; color: rgb(11, 11, 11);&quot;&gt;A million dollar opportunity closed! Oh yeah!&lt;/span&gt;&lt;/p&gt;</value\>
                </componentInstanceProperties\>
                <componentName\>flexipage:richText</componentName\>
                <visibilityRule\>
                    <booleanFilter\>1 AND 2</booleanFilter\>
                    <criteria\>
                        <leftValue\>{!Record.Amount}</leftValue\>
                        <operator\>GE</operator\>
                        <rightValue\>1000000</rightValue\>
                    </criteria\>
                    <criteria\>
                        <leftValue\>{!Record.StageName}</leftValue\>
                        <operator\>EQUAL</operator\>
                        <rightValue\>Closed Won</rightValue\>
                    </criteria\>
                </visibilityRule\>
            </componentInstance\>
        </itemInstances\>
        <itemInstances\>
            <componentInstance\>
                <componentInstanceProperties\>
                    <name\>decorate</name\>
                    <value\>true</value\>
                </componentInstanceProperties\>
                <componentInstanceProperties\>
                    <name\>richTextValue</name\>
                    <value\>&lt;p style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;background-color: rgb(255, 255, 255); font-size: 16px; color: rgb(244, 0, 0);&quot;&gt;This component is for mobile users only.&lt;/span&gt;&lt;/p&gt;</value\>
                </componentInstanceProperties\>
                <componentName\>flexipage:richText</componentName\>
                <visibilityRule\>
                    <criteria\>
                        <leftValue\>{!$Client.formFactor}</leftValue\>
                        <operator\>EQUAL</operator\>
                        <rightValue\>Small</rightValue\>
                    </criteria\>
                </visibilityRule\>
            </componentInstance\>
        </itemInstances\>
        <itemInstances\>
            <componentInstance\>
                <componentName\>forceChatter:recordFeedContainer</componentName\>
            </componentInstance\>
        </itemInstances\>
        <name\>sidebar</name\>
        <type\>Region</type\>
    </flexiPageRegions\>
    <masterLabel\>New Opportunity Page</masterLabel\>
    <sobjectType\>Opportunity</sobjectType\>
    <template\>
        <name\>flexipage:recordHomeWithSubheaderTemplateDesktop</name\>
    </template\>
    <type\>RecordPage</type\>
</FlexiPage\>

And, here’s the sample package.xml file that references the FlexiPage component definition:

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName\>New Opportunity Page</fullName\>
    <types\>
        <members\>New\_Opportunity\_Page</members\>
        <name\>FlexiPage</name\>
    </types\>
    <version\>49.0</version\>
</Package\>

## 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.api_meta.meta/api_meta/file_based_zip_file.htm "The deploy() and retrieve() calls are used to deploy and retrieve a .zip file. Within the .zip file is a project manifest (package.xml) that lists what to retrieve or deploy, and one or more XML components that are organized into folders.").