<CrmParameter> (RibbonDiffXml)
Represents data retrieved from the Microsoft Dynamics CRM application that may be passed as a parameter.
<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.
Attributes
| Attribute | Description | Type | Usage | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Name |
Represents the name of a query string parameter passed for this value when using a Url element. Represents the name of a query string parameter passed using the <Url> (RibbonDiffXml) element. |
String |
See Remarks |
||||||||||||||||||||||||||||||||||||||||||||||||
|
Value |
Specifies the value to be passed as a parameter. Valid values:
|
Enumeration |
Required |
Child Elements
This element has no child elements.
Parent Elements
| Element | Description |
|---|---|
|
Specifies an action that calls a function from a specific JavaScript library. |
|
|
Specifies a rule used with an EnableRule definition that is composed of a reference to a function within a JavaScript library. |
|
|
An action that opens a web page at a specified address. |
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.
Note |
|---|
|
Note |
|---|
Some CrmParameter values pass an EntityReference object. This object contains the following properties:
|
|
XPath |
//RibbonDiffXml/CommandDefinitions/CommandDefinition/Actions/JavaScriptFunction/CrmParameter | //RibbonDiffXml/CommandDefinitions/CommandDefinition/Actions/Url/CrmParameter | //RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/CustomRule/CrmParameter | //RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/OrRule/Or/CustomRule/CrmParameter | //RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/CustomRule/CrmParameter | //RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/OrRule/Or/CustomRule/CrmParameter |
|
Schema Name |
|
|
Validation File |
RibbonTypes.xsd |
|
Can be Empty |
Yes |
Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.
Note