Hi all,
This has been asked before but in the sales forum but that doesn't get near the same traffic as this so hence why I am asking it again.
Taken from that ticket (https://community.dynamics.com/365/sales/f/762/p/289997/932796#932796):
Is it possible to use the entity image uploaded on a Contact on a related entity in Dynamics?
Example:
I have created a custom entity with a lookup to the contact entity, I would like to display the entity image, which is a photo of the contact, from the related Contact on the main form of the custom entity.
As I see it, there are 2 possible options:
1) As per the suggested solution in the original post by Mahender, copy the entity image from the contact entity to the custom entity and enable entity image to be displayed on the custom entity. The image would display in the same way as in the contact form which renders well.
------------------------------------------------------------------------
Hi,
Have not done this but you can work with entity image using SDK, docs.microsoft.com/.../sample-set-retrieve-entity-images , you can try to write a update plugin on the opportunity entity which can select read image and copy to the opportunity image field.
docs.microsoft.com/.../image-attributes
------------------------------------------------------------------------
2) Use a web resource to display the entity image from the contact within the custom form. It would save one having to duplicate the data, although a possible downside is the screen real estate that would be taken up to display it compared to the entity image. Would there also be a possible performance hit on rendering?
I would really appreciate some guidance?
Thanks in advance,
*This post is locked for comments