<DecimalParameter> (RibbonDiffXml)

应用到: CRM 2016 on-prem, CRM Online

指定 Decimal 数据类型的值,该值可作为参数传递。

语法

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

属性和元素

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

属性

Attribute Description Type Usage

Name

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

String

See Remarks

Value

指定要作为参数传递的值。

Decimal

Required

子元素

This element has no child elements.

父元素

Element Description

<JavaScriptFunction> (RibbonDiffXml)

指定从特定 JavaScript 库调用函数的操作。

<CustomRule> (RibbonDiffXml)

指定用于包含对 JavaScript 库中的函数的引用的 EnableRule 定义的规则。

<Url> (RibbonDiffXml)

一个操作,用于打开位于指定地址的网页。

备注

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.

元素信息

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

另请参阅

其他资源

Ribbon XML reference
自定义命令和功能区

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