<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 程式庫中之函數的動作。 |
|
指定用於 EnableRule 定義的規則,由 JavaScript 程式庫內函數的參照所組成。 |
|
動作,開啟位於指定之位址的網頁。 |
備註
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.