次の方法で共有


<CustomAction> (RibbonDiffXml)

適用対象: CRM 2015 on-prem, CRM Online

リボン内のアイテムを追加する、または置き換えるアクションを定義します。

構文

<CustomAction 
 Id="String"
 Location="String"
 Sequence="Integer"
 Title="String">
 <CommandUIDefinition />
</CustomAction>

属性と要素

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 のように指定します。

The recommended naming convention is to use a period to separate consistent components like so: <solution identifier>.<entity>.<ribbon>.<function>.<element name>. For example: MyISV.account.form.SendToOtherSystem.CustomAction.

String

Optional

Location

References the Id of an existing ribbon element that contains the modification defined in the CustomAction. To add a new ribbon element, refer to the containing element Id and include the suffix ”._children”.

String

Optional

Sequence

Sequence の値を既存のリボン要素よりも大きく、または小さく設定することによってリボンの変更の場所を指定します。

Integer

Optional

Title

この要素は Microsoft Dynamics CRM で使用されません。

String

Optional

下位要素

Element Description

<CommandUIDefinition> (RibbonDiffXml)

CustomAction 要素内に収まる、表示可能な Ribbon 要素を指定します。

親要素

Element Description

<CustomActions> (RibbonDiffXml)

リボンのアイテムを追加、置き換え、または削除できるアクションのコレクションを格納します。

要素情報

XPath

//RibbonDiffXml/CustomActions/CustomAction

Schema Name

CustomActionType

Validation File

RibbonCore.xsd

Can be Empty

No

関連項目

他のリソース

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.