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
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!
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).
stampcoin
17
mmbr1606
15
Super User 2025 Season 1
ankit_singhal
11
Super User 2025 Season 1