<InsertTable> (RibbonDiffXml)

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

已被取代:指定 10x10 方格,用於指定資料表的維度。

重要

This control was deprecated in Microsoft Dynamics CRM 2011. This control will not render with Microsoft Dynamics CRM 2015 和 Microsoft Dynamics CRM Online 2015 更新.

語法

<InsertTable 
 Alt="String"
 Command="String"
 CommandPreview="String"
 CommandRevert="String"
 CommandType=["General" | "OptionSelection" | "IgnoredByMenu"]
 Id="String"
 MenuSectionInitialTitle="String"
 MenuSectionTitle="String"
 Sequence="Integer"
/>

屬性和元素

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

屬性

Attribute Description Type Usage

Alt

顯示為替代文字的字串或當地語系化標籤的參照。

String

Optional

CommandPreview

指定在選取控制項前游標停留在上方時執行的功能區命令識別碼。

String

Optional

CommandRevert

指定在使用者選取 [復原] 時執行的功能區命令識別碼。

String

Optional

CommandType

允許指定不同類型的命令。

Valid values:

 

Value Description

General

不是特定類型的命令。

OptionSelection

當使用者在選項群組中選取一個選項時產生的命令。

IgnoredByMenu

用於控制項的命令,當按一下功能表時不應該關閉功能表。

Enumeration

Optional

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

MenuSectionInitialTitle

The title of the menu section before table cells are selected, such as "Insert Table".

String

Optional

MenuSectionTitle

The title of the menu section when table cells are selected. This could be a format string such as "Insert a {0} by {1} Table".

String

Optional

Sequence

藉由將 Sequence 值設定為高於或低於現有功能區元素,以指定功能區修改的位置。

Integer

Optional

子元素

此元素沒有子元素。

上層元素

Element Description

<CommandUIDefinition> (RibbonDiffXml)

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

<Controls> (RibbonDiffXml)

包含控制項的集合。

元素資訊

XPath

//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/InsertTable |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Controls/InsertTable |
//RibbonDiffXml/CustomActions/CustomAction/CommandUIDefinition/Menu/MenuSection/Controls/InsertTable

Schema Name

InsertTableType

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.