Compartilhar via


<FormTypeRule> (RibbonDiffXml)

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

Especifica uma função que detecta o tipo do formulário do Microsoft Dynamics CRM.

Sintaxe

<FormTypeRule
 Default=["0" | "1" | "true" | "false"]
 InvertResult=["0" | "1" | "true" | "false"]
 Type=["Main" | "Preview" | "AppointmentBook" | "Dashboard" | "Quick" | "QuickCreate"] 
/>

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

InvertResult

Nega o valor de retorno da regra.

Boolean

Optional

Type

Specifies the type of form.

Valid values:

  • Main

  • Preview

  • AppointmentBook

  • Dashboard

  • Quick

  • QuickCreate

See Remarks.

Enumeration

Required

Elementos filho

Este elemento não tem atributos.

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.

Comentários

The Type values correspond to the following:

Value Presentation

Main

An entity form displayed in the application.

Preview

The entity preview form displayed as an expanding element in the grid.

AppointmentBook

Used with the appointment, equipment, serviceappointment, and systemuser entities for the Service Scheduling user interface.

Dashboard

The form defines a dashboard.

Quick

A quick view form.

QuickCreate

A quick create form.

Informações do elemento

XPath

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

Schema Name

FormTypeRule

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.