Compartilhar via


<FormEntityContextRule> (RibbonDiffXml)

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

Especifica uma regra que pode detectar se uma Faixa de Opções de formulário é exibida no contexto de uma entidade específica.

Sintaxe

<FormEntityContextRule 
 Default=["0" | "1" | "true" | "false"] 
 EntityName="String" 
 InvertResult=["0" | "1" | "true" | "false"] 
/>

Atributos e elementos

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

Atributos

Attribute Description Type Usage

Default

Define o valor de retorno padrão da regra, caso o valor real não possa ser determinado.

Boolean

Optional

EntityName

Especifica a entidade à qual esta regra se aplica. Use o nome lógico da entidade, por exemplo, "new_customentity".

String

Required

InvertResult

Nega o valor de retorno da regra.

Boolean

Optional

Elementos filho

Este elemento não tem elementos filho.

Elemento pai

Element Description

<DisplayRule> (RibbonDiffXml)

Especifica a definição de uma regra usada para exibir um elemento de Faixa de Opções ou uma referência a uma DisplayRule em uma definição de comando.

<Or> (RibbonDiffXml)

Especifica um conjunto de regras que deve ser avaliado em conjunto.

Informações do elemento

XPath

//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/FormEntityContextRule |
//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/OrRule/Or/FormEntityContextRule

Schema Name

FormEntityContextRuleType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

Consulte também

Outros recursos

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

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