分享方式:


<Scaling> (RibbonDiffXml)

適用於: CRM 2015 on-prem, CRM Online

包含元素集合,用於定義可用的水平空間變更時功能區群組的顯示方式。

語法

<Scaling 
 Id="String" 
 >
 <MaxSize/>
 <Scale/>
 <LowScaleWarning />
</Scaling>

屬性和元素

The following describes 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

子元素

Element Description

<MaxSize> (RibbonDiffXml)

定義群組的最大可能配置。

<Scale> (RibbonDiffXml)

指定當最大大小的配置無法顯示時,群組可使用的其中一個可能配置。

<LowScaleWarning> (RibbonDiffXml)

僅供內部使用。

上層元素

Element Description

<CommandUIDefinition> (RibbonDiffXml)

指定要包含在 CustomAction 元素中的可見 Ribbon 元素。

<Tab> (RibbonDiffXml)

指定功能區中的索引標籤。

元素資訊

XPath

//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/ContextualGroup/Tab/Scaling |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Tab/Scaling |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Scaling

Schema Name

ScalingType

Validation File

RibbonWSS.xsd

Can be Empty

Yes

請參閱

其他資源

Ribbon XML reference
自訂命令和功能區

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