cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ballzer0
Advocate I
Advocate I

Importing entities defined with common data model

Is there a way to import schemas found in the github CDM repository into CDS?

We want to adopt CDM fast, and the best way would be if we could import schemas directly from github, and then transform our existing data to fit within those models, instead of having to spend days/weeks/months manually modeling these things in the web interface.

https://github.com/microsoft/CDM

1 ACCEPTED SOLUTION

Accepted Solutions
cchannon
Memorable Member
Memorable Member

A lot of CDM is already baked into CDS: Contacts, Accounts, PhoneCalls, etc.

 

Other parts are omitted because they are foundational to MSFT's D365 Apps (Leads, Opportunities, etc.)

 

If you want to adopt the model, but don't want MSFT D365 app functionality, then look in the Samples dir of the CDM GitHub. It will not completely solve your problem for you, but it will provide a framework you can easily follow and all you will have to do is insert the correct metadata messages (link).

View solution in original post

2 REPLIES 2
cchannon
Memorable Member
Memorable Member

A lot of CDM is already baked into CDS: Contacts, Accounts, PhoneCalls, etc.

 

Other parts are omitted because they are foundational to MSFT's D365 Apps (Leads, Opportunities, etc.)

 

If you want to adopt the model, but don't want MSFT D365 app functionality, then look in the Samples dir of the CDM GitHub. It will not completely solve your problem for you, but it will provide a framework you can easily follow and all you will have to do is insert the correct metadata messages (link).

View solution in original post

EricRegnier
Super User II
Super User II

Hi @Ballzer0,

To supplement on the previous post, the default CDM does come with the default CDS upon creation. As you install 1st party apps like Dynamics 365 for Sales and Dynamics for Customer Service, you're extending the current CDM with additional models (i.e. entities) and additional metadata (i.e. fields, relationship, etc) to existing models. The same applies to 3rd party apps and custom entities that you create. Your custom entities will extend the current CDM. In short, the CDM is never static and always evolves as your data model evolves in your environment.

Hope this helps!

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,387)