<CrmParameter> (RibbonDiffXml)
应用到: CRM 2015 on-prem, CRM Online
表示从 Microsoft Dynamics CRM 应用程序中检索的数据,该数据可作为参数传递。
语法
<CrmParameter
Name = “String”
Value= ["CommandProperties" |
"PrimaryEntityTypeCode" |
"PrimaryEntityTypeName" |
"PrimaryItemIds" |
"FirstPrimaryItemId" |
"PrimaryControl" |
"PrimaryControlId" |
"SelectedEntityTypeCode" |
"SelectedEntityTypeName" |
"FirstSelectedItemId" |
"SelectedControl" |
"SelectedControlSelectedItemCount" |
"SelectedControlSelectedItemIds" |
"SelectedControlSelectedItemReferences" |
"SelectedControlAllItemCount" |
"SelectedControlAllItemIds" |
"SelectedControlAllItemReferences" |
"SelectedControlUnselectedItemCount" |
"SelectedControlUnselectedItemIds" |
"SelectedControlUnselectedItemReferences" |
"OrgName" |
"OrgLcid" |
"UserLcid"]
/>
属性和元素
The following table lists the attributes, child elements, and parent elements.
属性
Attribute | Description | Type | Usage | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Name |
表示在使用 Url 元素时为此值传递的查询字符串参数的名称。 Represents the name of a query string parameter passed using the <Url> (RibbonDiffXml) element. |
String |
See Remarks |
||||||||||||||||||||||||||||||||||||||||||||||||
Value |
指定要作为参数传递的值。 Valid values:
|
Enumeration |
Required |
子元素
此元素没有子元素。
父元素
Element | Description |
---|---|
指定从特定 JavaScript 库调用函数的操作。 |
|
指定用于包含对 JavaScript 库中的函数的引用的 EnableRule 定义的规则。 |
|
一个操作,用于打开位于指定地址的网页。 |
备注
When the CrmParameter is a child of the <Url> (RibbonDiffXml) a Name attribute is required. When the CrmParameter is a child of the <JavaScriptFunction> (RibbonDiffXml) element, the Name attribute is not valid.
备注
- Value attributes referring to a "Primary..." item refer to the record being viewed in the form.
- Value attributes referring to the "Selected..." item refer to rows selected within a grid.
备注
Some CrmParameter values pass an EntityReference object. This object contains the following properties:
- Id: A string of the GUID Id value for the record.
- Name: A string of the value of the Primary field for the record.
- TypeCode: A number representing the unique type of entity for the record.
- TypeName: A string representing the unique name of the entity for the record.
元素信息
XPath |
|
Schema Name |
|
Validation File |
RibbonTypes.xsd |
Can be Empty |
Yes |
另请参阅
其他资源
Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.