<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

指定在选定控件之前,光标悬停在控件上方时要运行的功能区命令的 ID。

String

Optional

CommandRevert

指定当用户选择“撤消”时要运行的功能区命令的 ID。

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

通过将序列值设置为高于或低于现有功能区元素来指定功能区修改内容的位置。

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.