Compartilhar via


<CustomAction> (RibbonDiffXml)

Aplica-se a: CRM 2015 on-prem, CRM Online

Define uma ação para adicionar ou substituir itens na Faixa de Opções.

Sintaxe

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

Atributos e elementos

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

Atributos

Attribute Description Type Usage

Id

Especifica um identificador exclusivo para a definição de um elemento de Faixa de Opções. A convenção de nomenclatura recomendável é usar um ponto para separar as partes do nome, como: [identificador da solução].[entity].[ribbon].[function]...[nome do elemento]. Por exemplo: 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

Especifica o local da modificação da Faixa de Opções definindo o valor da Sequência para um número mais alto ou mais baixo que os elementos de Faixa de Opções existentes.

Integer

Optional

Title

Este elemento não é usado no Microsoft Dynamics CRM.

String

Optional

Elementos filho

Element Description

<CommandUIDefinition> (RibbonDiffXml)

Especifica os elementos de Faixa de Opções visíveis a serem incluídos no elemento CustomAction.

Elemento pai

Element Description

<CustomActions> (RibbonDiffXml)

Contém uma coleção de ações que podem adicionar, substituir ou remover itens da Faixa de Opções.

Informações do elemento

XPath

//RibbonDiffXml/CustomActions/CustomAction

Schema Name

CustomActionType

Validation File

RibbonCore.xsd

Can be Empty

No

Consulte também

Outros recursos

Ribbon XML reference
Personalizar os comandos e a faixa de opções

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