<DecimalParameter> (RibbonDiffXml)

 

Applies To: Dynamics CRM 2013

Specifies a value with a decimal data type that may be passed as a parameter.

Syntax

<DecimalParameter
 Name="String"
 Value="Decimal"
/>

Attributes and Elements

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

Attributes

Attribute

Description

Type

Usage

Name

Represents the name of a query string parameter passed using the <Url> (RibbonDiffXml) element.

String

See Remarks

Value

Specifies the value to be passed as a parameter.

Decimal

Required

Child Elements

This element has no child elements.

Parent Elements

Element

Description

<JavaScriptFunction> (RibbonDiffXml)

Specifies an action that calls a function from a specific JavaScript library.

<CustomRule> (RibbonDiffXml)

Specifies a rule used with an EnableRule definition that is composed of a reference to a function within a JavaScript library.

<Url> (RibbonDiffXml)

An action that opens a web page at a specified address.

Remarks

When the DecimalParameter is a child of the <Url> (RibbonDiffXml) a Name attribute is required. When the DecimalParameter is a child of the <JavaScriptFunction> (RibbonDiffXml) or <CustomRule> (RibbonDiffXml) element, the Name attribute is not valid.

Element Information

XPath

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

Schema Name

  • DecimalNamedParameterType

  • DecimalParameterType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

See Also

Ribbon XML reference
Customize commands and the ribbon