<IntParameter> (RibbonDiffXml)

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

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

语法

<IntParameter 
 Name="String" 
 Value="String"
/>

属性和元素

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

属性

Attribute Description Type Usage

Name

表示在使用 Url 元素时为此值传递的查询字符串参数的名称。

String

See Remarks

Value

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

Int

Required

子元素

此元素没有子元素。

父元素

Element Description

<CustomRule> (RibbonDiffXml)

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

<JavaScriptFunction> (RibbonDiffXml)

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

<Url> (RibbonDiffXml)

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

备注

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

元素信息

XPath

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

Schema Name

  • IntParameter

  • IntNamedParameterType

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.