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
Super User
Super User

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
Super User
Super User

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).

EricRegnier
Super User
Super User

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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,995)