web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Image field in entity

(0) ShareShare
ReportReport
Posted on by 135

hi,

when I am trying to add an Image field in an entity, as soon as I select datatype as Image, expected behavior is automatically schema name  should change to entityimage. 

But in my case, I tried with existing entity, and new entity , new solution, everything. but the schema name doesnt change.

Because of which, when I go to Form, Display properties, Show image check box is disabled.

Any suggestions.

Regards,

Ashay

I have the same question (0)
  • Suggested answer
    Yiming  Profile Picture
    on at

    Hi Ashay,

     

    I did some tests in my OOB environment, seems schema name and 'Show image in the form' don't matter.

    1. At first, I created a custom entity, no image field, also the 'Show image in the form' is disabled. We can see there is no image near the record name.

     7725.png

     2. Then I created a image type field named 'ImageFieldTest', the schema name doesn't change to 'entityimage', it is 'new_ImageFieldTest'.

    4263.png

     3. After saving this field, in this custom Entity's Entity Definition, the 'Primary Image' change to 'ImageFieldTest'. At this time, the 'Show image in the form' is still disabled, but the image is appearing now.

     0601.png  4503.png  2845.png

     

    More information:

    System entities that support images will already have an Image field. You can choose whether to display data in this field as the image for the record by setting this field to [None] or Default Image.

    For custom entities you must first create an image field. Each entity can have only one image field. After you create one, you can change this setting to set the primary image.

     

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/edit-entities#enable-or-disable-entity-options

     

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/customize/types-of-fields#image-fields

     

    Hope above can help!

  • Ashay Shingornikar Profile Picture
    135 on at

    Thanks. It worked. Certainly this is not mentioned in Microsoft Dynamics documentation. Because videos present online follows those steps of enable checkbox and all.

    Thanks so much this worked in my case.

  • TamaraH Profile Picture
    20 on at

    Is this also working for system entities were the checkbox is disables (for example the system entity "Bookable resources"?

  • Al Iggs Profile Picture
    on at

    Hi Tamara, what are you trying to achieve?

  • TamaraH Profile Picture
    20 on at

    Thanks for your answer Alexander, but I already kow that it is not possible to have this functionality in for example the entity Bookable resource.

    Image fields

    Use image fields to display a single image per record in the application. Each entity can have one image field. You can add an image field to custom entities but not to system entities. The following system entities have an image field. Those marked with an asterisk are enabled by default.

    IMAGE FIELDS

    Account * Article Campaign

    Case Competitor * Connection

    Contact * Contract Currency

    Email Server Profile Goal Invoice

    Lead * Mailbox Opportunity Product

    Order Organization Product *

    Publisher * Queue Resource *

    Sales Literature Territory User*

  • Al Iggs Profile Picture
    on at

    Just guessed you wanted to have schedule board images for non-contact/user resources.... 

  • TamaraH Profile Picture
    20 on at

    Yes, is that possible?

  • Suggested answer
    Al Iggs Profile Picture
    on at

    It is! :-)

    Example: Create a new image field on Facility/Equipment, declare as Primary Image and set the form to „Show Image“. This allows you to upload the image.

    Next look at your board's Retrieve Resource Query and duplicate the existing logic to the facility entity:

           <link-entity name="account" from="accountid" to="accountid" link-type="outer">

             <attribute name="accountid" alias="accountid" groupby="true"/>

             <attribute name="entityimage_url" alias="accountimagepath" groupby="true"/>

           </link-entity>

           <link-entity name="equipment" from="equipmentid" to="msdyn_facilityequipmentid" link-type="outer">

             <attribute name="equipmentid" alias="msdyn_facilityequipmentid" groupby="true"/>

             <attribute name="lx_entityimage_url" alias="equipmentimagepath" groupby="true"/>

           </link-entity>

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 73 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 42 Most Valuable Professional

#3
Scott Jackson UK Profile Picture

Scott Jackson UK 22

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans