<BoolParameter> (RibbonDiffXml)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Specifies a value with a Boolean data type that may be passed as a parameter.
Syntax
<BoolParameter
Name="string"
Value=["0" | "1" | "true" | "false"]
</ BoolParameter >
Attributes and Elements
The following table lists the attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
Type |
Usage |
---|---|---|---|
Value |
Specifies the value to be passed as a parameter. |
Boolean |
Required |
Name |
Represents the name of a query string parameter passed for this value when using a Url element. The name of the Boolean value to pass when BoolParameter is used as a child of <Url> (RibbonDiffXml). |
String |
Required Note This parameter is only available when BooleanParameter is a child of <Url> (RibbonDiffXml). |
Child Elements
This element has no child elements.
Parent Elements
Element |
Description |
---|---|
Specifies an action that calls a function from a specific JavaScript library. |
|
Specifies a rule used with an EnableRule definition that is composed of a reference to a function within a JavaScript library. |
|
An action that opens a web page at a specified address. |
Example
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>
Element Information
XPath |
|
Schema Name |
BoolParameterType or BoolNamedParameterType |
Validation File |
RibbonTypes.xsd |
Can be Empty |
Yes |
See Also
Customize commands and the ribbon
Ribbon XML reference
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright