Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link between schemaDocuments and model.json #67

Closed
KevinMcDonnell-BC opened this issue Apr 24, 2019 · 1 comment
Closed

Link between schemaDocuments and model.json #67

KevinMcDonnell-BC opened this issue Apr 24, 2019 · 1 comment

Comments

@KevinMcDonnell-BC
Copy link

Is there a way to generate the model.json from the set of schemaDocuments? The model.json schema seems like it has less definition but is used for Data Lake.

Ultimately, I'd like to be able to create a set of classes in C# as well as the Dynamics and Power BI implementations so looking in to whether it is based to define extensions in the model.json format or the full schema (my preference at the moment).

Thanks!

@victor-gutemberg
Copy link
Collaborator

Hello Kevin,

My recommendation is that you use the SDK to read and write either the ".cdm.json" format or "model.json" format. Both can be manipulated using the same set of API's but persisted to different file formats. You can take a look at this sample to understand better that scenario. For example, you can load the document you want from the schemaDocuments and save it as a model.json.

As a side note, model.json is in deprecation path and its use should be avoided. You can read more about this on our From model.json to the future article.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants