Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Displaying contact entity image in the form of a custom entity

(0) ShareShare
ReportReport
Posted on by 135

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

  • Suggested answer
    Guido Preite Profile Picture
    54,077 Moderator on at
    RE: Displaying contact entity image in the form of a custom entity

    in addition to the two methods you wrote above, in the future (is currently in preview) will be possible to create a PCF control (PowerApps Component Framework) to display the contact image (working in a similar way as the Web Resource)

    Personally I will go with the plugin, you avoid using extra space in the form

    if users don't upload 5MB picture for a contact (considering also the small size of the default image) and you don't have 1 billions contacts, I would not worry about the duplicate data

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans