---
schema_version: "1"
id: b99bc19f052630adf79f5ed2886ff08a39512ec6c7a48ed3d71b76f6d2569d89
title: EmbeddedServiceMenuSettings
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_embeddedservicemenusettings.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_embeddedservicemenusettings.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e542f95b6bc035ab6293f2511a05aacc973de916262d64b60b3a0f5e53d9d6c3
description: Represents a setup node for creating a channel menu deployment. Channel menus list the ways in which customers can contact your business. This type extends the Metadata metadata type and inherits its fullName field.
---
# EmbeddedServiceMenuSettings

Represents a setup node for creating a channel menu deployment. Channel menus list the ways in which customers can contact your business. This type extends the Metadata metadata type and inherits its fullName field.

![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.

## File Suffix and Directory Location

EmbeddedServiceMenuSettings components are stored in the developer\_name.EmbeddedServiceMenuSettings folder.

## Version

EmbeddedServiceMenuSettings components are available in API version 47.0 and later.

## Fields

| Field Name | Field Type | Description |
| --- | --- | --- |
| branding | string | The developer name of the associated BrandingSet. |
| embeddedServiceCustomLabels | [EmbeddedServiceCustomLabel](#embeddedservicecustomlabel_subtype)\[\] | Represents a customized label that appears in the embedded component for a particular channel menu deployment. |
| embeddedServiceCustomizations | [EmbeddedServiceCustomization](#EmbeddedServiceCustomization_subtype)\[\] | The customizations used in this Embedded Service deployment. Each customization is associated with a static resource. Available in API version 50.0 and later. |
| embeddedServiceMenuItems | [EmbeddedServiceMenuItem](#embeddedservicemenuitem_subtype)\[\] | Represents a channel menu item that lists a way in which customers can contact your business. |
| isEnabled | boolean | If true (default), the deployment is enabled. If false, the deployment is disabled. |
| masterLabel | string | Required. The name of the channel menu deployment. |
| site | string | Required. The name of the Experience site or website connected to this channel menu deployment. |

## EmbeddedServiceCustomLabel

Represents the custom labels used in your channel menu deployment.

| Field Name | Field Type | Description |
| --- | --- | --- |
| customLabel | string | The customized label that appears in the channel menu. |
| feature | EmbeddedServiceFeature ([enumeration](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title) of type string) | The feature using the custom label. For channel menu deployments, the value is ChannelMenu. |
| labelKey | EmbeddedServiceLabelKey ([enumeration](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title) of type string) | The type of label for this embedded component. The value corresponds to the label within a label group (substate of chat state or page type). |

## EmbeddedServiceCustomization

Returns the customization associated with the Embedded Service feature. Available in API version 50.0 and later.

| Field Name | Field Type | Description |
| --- | --- | --- |
| customizationName | string | Required. The name of the customization applied to the embedded service. This name can contain only underscores and alphanumeric characters and must be unique in an EmbeddedServiceConfig setup. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. |
| description | string | A description of the customization. |
| embeddedServiceResources | [EmbeddedServiceResource](#EmbeddedServiceResource_subtype)\[\] | Required. The reference to the static resource that contains the javascript file of the customization. |

## EmbeddedServiceResource

Returns the static resource associated with the Embedded Service Chat feature customization. Available in API version 50.0 and later.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d424513e410" data-title="Description">Required. The ID of the static resource that contains the javascript file of
                the customization.</td>

            </tr>

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

              <td class="entry" headers="d424513e407" data-title="Field Type">EmbeddedServiceResourceType (<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="d424513e410" data-title="Description">Required. The embedded service feature to customize. Only the Chat feature is
                supported. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">ChatInvitation</samp></li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## EmbeddedServiceMenuItem

Represents an item in a channel menu.

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d424513e485" data-title="Description">The ID of the channel type. If <span class="keyword parmname">channelType</span> is <samp class="codeph nolang">Phone</samp> or <samp class="codeph nolang">CustomURL</samp>, this field is <samp class="codeph nolang">null</samp>.</td>

            </tr>

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

              <td class="entry" headers="d424513e482" data-title="Field Type">EmbeddedServiceChannelType (<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="d424513e485" data-title="Description">The type of communication channel. Values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">EmbeddedMessaging</samp></li>

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

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

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

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

                </ul>
              </td>

            </tr>

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

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

              <td class="entry" headers="d424513e485" data-title="Description">A custom URL that appears in the menu. The
                <span class="keyword parmname">shouldOpenUrlInSameTab</span> field determines where the URL
                opens.
              </td>

            </tr>

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

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

              <td class="entry" headers="d424513e485" data-title="Description">The item’s order in the menu, such as 1 or 2.</td>

            </tr>

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

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

              <td class="entry" headers="d424513e485" data-title="Description">Represents the custom labels used in your channel menu item.</td>

            </tr>

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

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

              <td class="entry" headers="d424513e485" data-title="Description">The icon URL for the menu item. Icons can be used only for phone, SMS, custom
                URL, and chat menu items.</td>

            </tr>

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

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

              <td class="entry" headers="d424513e485" data-title="Description">If <samp class="codeph nolang">true</samp>, the menu item is displayed on
                page load. Available in API version 49.0 and later.</td>

            </tr>

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

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

              <td class="entry" headers="d424513e485" data-title="Description">A unique custom name for the menu item, which is visible in the user
                interface.</td>

            </tr>

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

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

              <td class="entry" headers="d424513e485" data-title="Description">If <samp class="codeph nolang">true</samp>, the menu item is hidden in
                iOS.</td>

            </tr>

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

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

              <td class="entry" headers="d424513e485" data-title="Description">If <samp class="codeph nolang">true</samp>, the menu item is hidden in Linux
                operating system.</td>

            </tr>

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

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

              <td class="entry" headers="d424513e485" data-title="Description">If <samp class="codeph nolang">true</samp>, the menu item is hidden in Mac
                operating system.</td>

            </tr>

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

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

              <td class="entry" headers="d424513e485" data-title="Description">If <samp class="codeph nolang">true</samp>, the menu item is hidden in any
                operating system other than iOS, Linux, Mac, and Windows.</td>

            </tr>

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

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

              <td class="entry" headers="d424513e485" data-title="Description">If <samp class="codeph nolang">true</samp>, the menu item is hidden in
                Windows operating system.</td>

            </tr>

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

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

              <td class="entry" headers="d424513e485" data-title="Description">The phone number for menu items whose <span class="keyword parmname">channelType</span> is
                <samp class="codeph nolang">Phone</samp>.
              </td>

            </tr>

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

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

              <td class="entry" headers="d424513e485" data-title="Description">If the menu item’s <span class="keyword parmname">channelType</span> is <samp class="codeph nolang">CustomURL</samp>, this field indicates whether the link
                opens in the same tab (<samp class="codeph nolang">true</samp>) or a new tab
                (<samp class="codeph nolang">false</samp>).</td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

The following is an example of an EmbeddedServiceMenuSettings component.

<?xml version="1.0" encoding="UTF-8"?>
<EmbeddedServiceMenuSettings xmlns="http://soap.sforce.com/2006/04/metadata">
    <embeddedServiceCustomLabels\>
        <customLabel\>CM\_Container\_Header\_Primary\_Greeting\_3MsRM0000004CB5\_6181150</customLabel\>
        <labelKey\>CM\_Container\_Header\_Primary\_Greeting</labelKey\>
    </embeddedServiceCustomLabels\>
    <embeddedServiceCustomLabels\>
        <customLabel\>CM\_Container\_Header\_Secondary\_Greeting\_3MsRM0000004CB5\_4637097</customLabel\>
        <labelKey\>CM\_Container\_Header\_Secondary\_Greeting</labelKey\>
    </embeddedServiceCustomLabels\>
    <embeddedServiceMenuItems\>
        <channel\>Chat</channel\>
        <channelType\>EmbeddedServiceConfig</channelType\>
        <displayOrder\>1</displayOrder\>
        <embeddedServiceCustomLabels\>
            <customLabel\>CM\_Container\_MenuItems\_WebChatUnavailable\_3miRM0000004CuZ\_8003848</customLabel\>
            <labelKey\>CM\_Container\_MenuItems\_WebChatUnavailable</labelKey\>
        </embeddedServiceCustomLabels\>
        <embeddedServiceCustomLabels\>
            <customLabel\>CM\_Container\_MenuItems\_WebChatAvailable\_3miRM0000004CuZ\_5823055</customLabel\>
            <labelKey\>CM\_Container\_MenuItems\_WebChatAvailable</labelKey\>
        </embeddedServiceCustomLabels\>
        <itemName\>Chat1</itemName\>
        <osOptionsHideInIOS\>false</osOptionsHideInIOS\>
        <osOptionsHideInLinuxOS\>true</osOptionsHideInLinuxOS\>
        <osOptionsHideInMacOS\>false</osOptionsHideInMacOS\>
        <osOptionsHideInOtherOS\>false</osOptionsHideInOtherOS\>
        <osOptionsHideInWindowsOS\>true</osOptionsHideInWindowsOS\>
        <shouldOpenUrlInSameTab\>false</shouldOpenUrlInSameTab\>
    </embeddedServiceMenuItems\>
    <embeddedServiceMenuItems\>
        <channelType\>Phone</channelType\>
        <displayOrder\>2</displayOrder\>
        <itemName\>Phone1</itemName\>
        <osOptionsHideInIOS\>true</osOptionsHideInIOS\>
        <osOptionsHideInLinuxOS\>false</osOptionsHideInLinuxOS\>
        <osOptionsHideInMacOS\>true</osOptionsHideInMacOS\>
        <osOptionsHideInOtherOS\>false</osOptionsHideInOtherOS\>
        <osOptionsHideInWindowsOS\>false</osOptionsHideInWindowsOS\>
        <phoneNumber\>1234567890</phoneNumber\>
        <shouldOpenUrlInSameTab\>false</shouldOpenUrlInSameTab\>
    </embeddedServiceMenuItems\>
    <embeddedServiceMenuItems\>
        <channelType\>CustomURL</channelType\>
        <customUrl\>https://google.com</customUrl\>
        <displayOrder\>3</displayOrder\>
        <itemName\>url1</itemName\>
        <osOptionsHideInIOS\>false</osOptionsHideInIOS\>
        <osOptionsHideInLinuxOS\>false</osOptionsHideInLinuxOS\>
        <osOptionsHideInMacOS\>false</osOptionsHideInMacOS\>
        <osOptionsHideInOtherOS\>false</osOptionsHideInOtherOS\>
        <osOptionsHideInWindowsOS\>false</osOptionsHideInWindowsOS\>
        <shouldOpenUrlInSameTab\>false</shouldOpenUrlInSameTab\>
    </embeddedServiceMenuItems\>
    <isEnabled\>true</isEnabled\>
    <masterLabel\>ChannelMenuSettings</masterLabel\>
    <site\>SnapInCommunity</site\>
</EmbeddedServiceMenuSettings\>

## Wildcard Support in the Manifest File

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