Compartilhar via


<BoolParameter> (RibbonDiffXml)

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

Especifica um valor com um tipo de dados booliano que pode ser passado como um parâmetro.

Sintaxe

<BoolParameter
 Name="string"
 Value=["0" | "1" | "true" | "false"]
</ BoolParameter >

Atributos e elementos

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

Atributos

Attribute Description Type Usage

Value

Especifica o valor a ser passado como um parâmetro.

Boolean

Required

Name

Representa o nome de um parâmetro de cadeia de consulta passado para este valor ao usar um elemento Url.

The name of the Boolean value to pass when BoolParameter is used as a child of <Url> (RibbonDiffXml).

String

Required

Observação

This parameter is only available when BooleanParameter is a child of <Url> (RibbonDiffXml).

Elementos filho

Este elemento não tem elementos filho.

Elemento pai

Element Description

<JavaScriptFunction> (RibbonDiffXml)

Especifica uma ação que chama uma função em uma biblioteca JavaScript específica.

<CustomRule> (RibbonDiffXml)

Especifica uma regra usada com uma definição EnableRule composta por uma referência a uma função em uma biblioteca JavaScript.

<Url> (RibbonDiffXml)

Uma ação que abre uma página da Web em um endereço especificado.

Exemplo

This <Url> (RibbonDiffXml) action passes the Boolean value of ”false” with the name ”test” to a Web resource.

<Actions> <Url Address="$webresource:New_ShowParams.htm">  <BoolParameter Name="test"                 Value="false"/> </Url></Actions>

Informações do elemento

XPath

//RibbonDiffXml/CommandDefinitions/CommandDefinition/Actions/JavaScriptFunction/BoolParameter |
//RibbonDiffXml/CommandDefinitions/CommandDefinition/Actions/Url/BoolParameter |
//RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/CustomRule/BoolParameter |
//RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/OrRule/Or/CustomRule/BoolParameter |
//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/CustomRule/BoolParameter |
//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/OrRule/Or/CustomRule/BoolParameter

Schema Name

BoolParameterType or BoolNamedParameterType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

Consulte também

Outros recursos

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

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