分享方式:


<DecimalParameter> (RibbonDiffXml)

適用於: CRM 2015 on-prem, CRM Online

指定小數資料類型、可做為參數傳遞的值。

語法

<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)

指定用於 EnableRule 定義的規則,由 JavaScript 程式庫內函數的參照所組成。

<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 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.