Applies To: Dynamics CRM 2016, Dynamics CRM Online
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.
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.
Specifies the value to be passed as a parameter.
This element has no child elements.
An action that opens a web page at a specified address.
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.
Some CrmParameter values pass an EntityReference object. This object contains the following properties:
Can be Empty
Microsoft Dynamics CRM 2016 and CRM Online
© 2016 Microsoft. All rights reserved. Copyright