EntityMetadata.PrimaryImageAttribute Property
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Gets the name of the primary image attribute for an entity.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Property Value
Type: System.StringType: String
The name of the primary image attribute for an entity.
When an entity contains a ImageAttributeMetadata attribute this value will be the name of the attribute containing the image used in the application. Each entity can have only one image attribute and the logical name of that attribute is always entityimage. This property has been added to prepare for a future release in which entities may support multiple image attributes and there may be need to change which image is used as the primary image for the entity.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright