Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Represents data retrieved from the Microsoft Dynamics 365 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:
The EntityReference also provides a TypeCode property which is a number representing the unique type of entity for the record. Use of this property is deprecated. Use TypeName instead. The number value for custom entities will typically be different from organization to organization and the number value cannot be used reliably for custom entities.
Can be Empty
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright