Share via


<FormTypeRule> (RibbonDiffXml)

Se aplica a: CRM 2016 on-prem, CRM Online

Especifica una regla que detecta el tipo de formulario de Microsoft Dynamics CRM.

Sintaxis

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

Atributos y elementos

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

Atributos

Attribute Description Type Usage

Default

Define el valor de retorno predeterminado para la regla si el valor real no se puede determinar.

Boolean

Optional

InvertResult

Niega el valor de devolución de la regla.

Boolean

Optional

Type

Specifies the type of form.

Valid values:

  • Main

  • Preview

  • AppointmentBook

  • Dashboard

  • Quick

  • QuickCreate

See Remarks.

Enumeration

Required

Elementos secundarios

Este elemento no tiene atributos.

Elementos primarios

Element Description

<DisplayRule> (RibbonDiffXml)

Especifica la definición de una regla usada para mostrar un elemento de la cinta de opciones o una referencia a una DisplayRule de una definición de comando.

<Or> (RibbonDiffXml)

Especifica un conjunto de reglas que deben evaluarse en conjunto.

Comentarios

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.

Información del 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

Vea también

Otros recursos

Ribbon XML reference
Personalizar los comandos y la cinta de opciones

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