Dela via


<InsertTable> (RibbonDiffXml)

 

Applies To: Dynamics CRM 2013

Deprecated: Specified a 10 by 10 grid used to specify the dimensions of a table.

Important

This control was deprecated in Microsoft Dynamics CRM 2011. This control will not render with Microsoft Dynamics CRM 2013 and Microsoft Dynamics CRM Online.

Syntax

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

Attributes and Elements

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

Attributes

Attribute

Description

Type

Usage

Alt

String or reference to a localized label to display as alternative text.

String

Optional

CommandPreview

Specifies the ID of the ribbon command to run when the cursor hovers over the control before it is selected.

String

Optional

CommandRevert

Specifies the ID of the ribbon command to run when the user selects undo.

String

Optional

CommandType

Allows for specifying a different type of command.

Valid values:

Value

Description

General

Not a specific type of command.

OptionSelection

A command that is generated when a user selects one option in an option group.

IgnoredByMenu

A command that is used for controls that should not close the menu when clicked.

Enumeration

Optional

Id

Specifies a unique identifier for the definition of a ribbon element. The strongly recommended naming convention is to use a period to separate the parts of the name like so: [solution identifier].[entity].[ribbon].[function].[element name]. For example: 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.

Important

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

Specify the location of the ribbon modification by setting the Sequence value higher or lower than existing ribbon elements.

Integer

Optional

Child Elements

This element has no child elements.

Parent Elements

Element

Description

<CommandUIDefinition> (RibbonDiffXml)

Specifies the visible Ribbon elements to be included within a CustomAction element.

<Controls> (RibbonDiffXml)

Contains a collection of controls.

Element Information

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

See Also

Ribbon XML reference
Customize commands and the ribbon