<CrmParameter> (RibbonDiffXml)
Applies To: Dynamics CRM 2013
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"]
/>
Attributes and Elements
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 |
|---|
When a grid is presented within a form or as an associated view the "Primary.." values refer to the record context in which the grid is displayed. This is true as long as the grid is associated with an entity relationship. When a grid is displayed independently from any entity relationship, such as in the Homepage grid or if a subgrid is added to a form without being associated with an entity relationship, the "Primary..." values will be null. |
Note |
|---|
Some CrmParameter values pass an EntityReference object. This object contains the following properties:
|
Element Information
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 |
