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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Customer Field for custom entity

(0) ShareShare
ReportReport
Posted on by

I have one custom entity in CRM. My requirement is to create a lookup field(say Customer) for this entity like Out of the Box Customer in Case entity which is pointing to both Account and Contact records. I want to show details of this custom entity in the customer details section of case form. How can I create this custom Customer field?

I have the same question (0)
  • Suggested answer
    Harish M Profile Picture
    Microsoft Employee on at

    Hi Divya,

    Create a new field with Data type as Customer as in the below screenshot and add the field to the form.

    pastedimage1587719541652v1.png

    Best Regards,
    Harish M
    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums

  • Suggested answer
    ashish12 Profile Picture
    3,079 on at

    Hi Divya,

    Customer field is another type of a field.

    It will select Account and Contact both for the selection.

    Thanks

  • Community Member Profile Picture
    on at

    Hi,

    Thanks for your response.

    But I want to create customer field which will select my custom entity & account.

  • Suggested answer
    Harish M Profile Picture
    Microsoft Employee on at

    Hi Divya,

    Customer datatype adds two relationships to the lookup attribute, one for the Account entity and the other to the Contact entity. You will not be able to add relationship to any other entity except for Account and Contact entities for a Customer lookup attribute. This is not allowed for a custom entity.

    Best Regards,

    Harish M

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums

  • DirkCuthbertson Profile Picture
    25 on at

    Hi Harish,

    I'm hoping you can answer a related question for me. I've added a Customer field into a solution in our dev sandbox but I'm getting error messages saying that some of the required components related to this new field are missing. Some were entity relationships that I've found, some were fields that I just can't find (both ending "...idtype"). Any idea where I can find these fields?

    I'm surprised they haven't added to the solution automatically (especially the relationships) as I created the field inside the solution.

    Cheers,

    Dirk

  • Pankaj Gogoi Profile Picture
    3,177 on at

    Hi Divya,

    As others have pointed you can create a field of type customer and add it to the form.

    Maybe, you can explore the PCF. Here are few links for reference.

    https://community.dynamics.com/crm/b/crminthefield/posts/getting-started-with-pcf-controls

    https://docs.microsoft.com/en-us/powerapps/developer/component-framework/create-custom-controls-using-pcf

    Best Regards

    PG

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi, since your custom entity is related to customer and you want to show the details of the custom entity on the case form, so create a quick view form on custom entity and add this on the case form.

    Hope this resolve your problem

  • Suggested answer
    CRMJetty Profile Picture
    3,514 on at

    Hi Divya,

    In regards to your query, you will create customer type field in custom entity.

    - A custom customer type of field can be created in the similar manner as of other fields just go to Settings -> Customizations in the CRM then select an entity for which you want to create a custom field. While setting the data type for the field you can find the Customer data type, set type as customer & save it.

    - While creating a customer type of field you will see a relationship being created for Account as well as Contact entity.

    - Thus by placing the customer type field on any of the entity form, one can make full use of the customer type field as per convenience.

    I hope it helps,

    Thanks.

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365

  • venkatsr Profile Picture
    User Group Leader on at

    Hi,

    Create a custom field with Customer type, it will resolve your issue.

  • Suggested answer
    onurizgi Profile Picture
    360 on at

    phonecall.pngquickview.pngquickvieweditform.png

    Hello Divya;

    You can create custom field and please select Customer Data Type.

    After that you can create quick view form. If you want to customer details on form, you can add to quick view form in custom entity's main form.

    For Example ;

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 54 Most Valuable Professional

#2
11manish Profile Picture

11manish 26

#3
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 13 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans