Using Entity Image in a Web Resource

As most us will be aware that Dynamics 365 offers us with the option to provide Image to each of the entity record if the same is enabled for an entity. To put in lay man’s terms its something like that if we have a contact in the system then we can provide a photo of the contact in the record and that will be shown in the contact. Now if we have to use that photo in one of the web resource we can do that easily by referring to the same entity image as below.

This is done using the url to download the image and use it anywhere as a reference. The format for the url is as below,

{CRM Instance Url}/image/download.aspx?entity={logical name of the entity}&attribute={logical name of the attribute}&id={GUID of the record for which the image needs to be picked up}

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s