<Menu> (RibbonDiffXml)

적용 대상: CRM 2016 on-prem, CRM Online

팝업 메뉴를 표시하는 데 사용되는 컨테이너를 지정합니다.

구문

<Menu
 Id="String"
 MaxWidth="String" 
>
 <MenuSection />
</Menu>

특성 및 요소

The following table lists the attributes, child elements, and parent elements.

특성

Attribute Description Type Usage

Id

리본 요소의 정의에 대한 고유 식별자를 지정합니다. 적극 권장되는 명명 규칙은 [solution identifier].[entity].[ribbon].[function].[element name]과 같이 마침표를 사용하여 이름의 부분을 분리하는 것입니다. 예를 들면 MyISV.account.form.SendToOtherSystem.Button과 같습니다.

Use the {!EntityLogicalName} token in the Id attribute when you define a ribbon element that will be used for multiple entities. This inserts the entity logical name into the Id value to make sure that the Id value is globally unique.

For example, if you use MyISV.{!EntityLogicalName}.form.SendToOtherSystem.Button with the account entity, the Id will be MyISV.account.form.SendToOtherSystem.Button. For the contact entity, the Id will be MyISV.contact.form.SendToOtherSystem.Button.

중요

If you don’t set a globally unique Id value, the ribbon might not display.

String

Required

MaxWidth

The maximum width in pixels.

String

Optional

하위 요소

Element Description

<MenuSection> (RibbonDiffXml)

메뉴를 분리하는 데 사용되는 섹션을 지정합니다. 메뉴 섹션에는 제목이 있을 수 있으며 컨트롤이 포함될 수 있습니다.

상위 요소

Element Description

<CommandUIDefinition> (RibbonDiffXml)

CustomAction 요소 내에 포함될 시각적 리본 요소를 지정합니다.

<ComboBox> (RibbonDiffXml)

더 이상 사용되지 않습니다. 클릭하거나 입력하여 값을 선택하는 데 사용되는 목록을 지정했습니다.

<FlyoutAnchor> (RibbonDiffXml)

메뉴를 여는 데 사용되는 아래쪽 화살표가 있는 단추를 지정합니다.

<DropDown> (RibbonDiffXml)

더 이상 사용되지 않습니다. 클릭하여 값을 선택하는 데 사용되는 목록을 지정했습니다.

<MRUSplitButton> (RibbonDiffXml)

더 이상 사용되지 않습니다. 가장 최근에 사용한 항목을 표시하는 분할 단추 컨트롤을 지정했습니다.

<SplitButton> (RibbonDiffXml)

단추와 메뉴로 모두 사용되는 컨트롤을 지정합니다.

요소 정보

XPath

//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Menu |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/ComboBox/Menu |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Menu/MenuSection/Controls/FlyoutAnchor/Menu |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/DropDown/Menu |
//Controls/DropDown/Menu |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/MRUSplitButton/Menu |
//Controls/MRUSplitButton/Menu |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/SplitButton/Menu |
//Controls/SplitButton/Menu

Schema Name

MenuType

Validation File

RibbonWSS.xsd

Can be Empty

No

참고 항목

기타 리소스

Ribbon XML reference
명령 및 리본 사용자 지정

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.