Del via


<DecimalParameter> (RibbonDiffXml)

Gælder for: CRM 2015 on-prem, CRM Online

Angiver en værdi med en decimal datatype, der kan overføres som en parameter.

Syntaks

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

Attributter og elementer

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

Attributter

Attribute Description Type Usage

Name

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

String

See Remarks

Value

Angiver den værdi, der skal overføres som en parameter.

Decimal

Required

Underordnede elementer

This element has no child elements.

Overordnede elementer

Element Description

<JavaScriptFunction> (RibbonDiffXml)

Angiver en handling, der kalder en funktion fra et bestemt JavaScript-bibliotek.

<CustomRule> (RibbonDiffXml)

Angiver en regel, der bruges sammen med en EnableRule-definition, som består af en reference til en funktion i et JavaScript-bibliotek.

<Url> (RibbonDiffXml)

En handling, der bruges til at åbne en webside på en angivet adresse.

Bemærkninger

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.

Elementoplysninger

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

Se også

Andre ressourcer

Ribbon XML reference
Tilpasse kommandoer og båndet

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