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

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Unanswered

Inheritance within the Common Data Service

(1) ShareShare
ReportReport
Posted on by 1,302

Hi

 

Is Entity inheritance within the Common Data Service available ?

 

ie can I have a base entity and then have a number of other entities which inherit the base entity and then add on their own fields.

 

I have a base entity called Contact, I then want some other entities such as sales managers and sales people which inherit the Contact entity and add in their own fields.

 

I have potentially have 10s or even 100s of such entities which will inherit the contacts Entity.  Trying to maintain these entities would be a nightmare if I cannot inherit off a base entity.

 

Regards

 

Nigel

I have the same question (0)
  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at
    Re: Inheritance within the Common Data Service

    Hi @NigelP,

    Unfortunately inheritance or building a custom entity based on another custom entities is not supported yet. The only inheritance support are activity type of entities: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/activity-entities

     

    You can vote on this existing idea at: https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Inheritance-on-Entities-or-Copy-Entity/idi-p/215464

     

    For your contact entity, I would strongly recommend not to create custom contacts and/or custom users. For your internal users like sales managers, you should leverage the out-of-the-box User (systemuser) entity. And for customers or external contacts, use the out-of-the-box Contact entity. Perhaps you can add a custom field "Type" which defines the type contact (i.e. customer, supplier, etc). A lot of CDS functionalities are build around contact, account and user which you do not want to limit yourself by not using them. For more info check out this tip: https://crmtipoftheday.com/1302/should-i-recreate-the-account-entity/

  • David Jennaway Profile Picture
    716 on at
    Re: Inheritance within the Common Data Service

    To add to the previous answer, you can define multiple forms for an entity, and you could use different forms for the different contact types, and hence display different 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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 819 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 308 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 222 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics