Giter Site home page Giter Site logo

Comments (7)

JeffBern avatar JeffBern commented on June 27, 2024 2

BTW, we are hard at work on a major update to the CDM OM (and navigator as part of that) that will make it possible and much easier to integrate you own folders of content into an overall schema 'corpus'. Stay tuned.

from cdm.

oovanesy avatar oovanesy commented on June 27, 2024

@jschof, Hi, and thanks for the interest in CDM. Current version of the Entity Navigator does not support "load from local files" function. We are working on improving this experience and support this functionality

from cdm.

oovanesy avatar oovanesy commented on June 27, 2024

@jschof can you please tell us what files are you trying to load with the navigator? e.g. custom built, copies from GitHub?

from cdm.

jschof avatar jschof commented on June 27, 2024

I tried to load the files from the schemaDocuments folder. If the results were the same as when you click on "Load from Github!" then my intent was to start modifying the source files to create my own custom build.

What I did not know at the time was that the GitHub files also contained the Entity Navigator source files (in the docs folder) and that there were many hard-coded references in the index.html file which make the exercise non-trivial.

I did manage to create my own model that works well except if you look under the covers at the Status tab there are errors for objects that I am not using (I.e. have removed):

resolving references...
unable to resolve the reference 'User' to a known object
unable to resolve the reference 'Team' to a known object
unable to resolve the reference 'User' to a known object
unable to resolve the reference 'User' to a known object
unable to resolve the reference 'User' to a known object
unable to resolve the reference 'User' to a known object
unable to resolve the reference 'BusinessUnit' to a known object
unable to resolve the reference 'User' to a known object
unable to resolve the reference 'Team' to a known object
unable to resolve the reference 'Activity' to a known object
unable to resolve the reference 'Contact' to a known object
unable to resolve the reference 'Account' to a known object

BTW for those looking to so a similar exercise you may want to modify SchemaViz.css to include object property wrapping, much easier / preferable to scrolling.

.property_table_detail_value
{
    white-space: pre-wrap;    /* Display formatted definitions*/ 
}

from cdm.

sbrown-ai avatar sbrown-ai commented on June 27, 2024

Not sure if this is a resolved issue now for you, but we had the same experience. When we removed the "other versions" (left the un-numbered versions) it worked. Looks like 0.7 is not compatible with the visualizer? Anyway... removing 0.7, 0.8, 0.8.1 we were able to get local files to load.

from cdm.

jschof avatar jschof commented on June 27, 2024

Object property wrapping fixed in Microsoft CDM Release Version Update: 1.0.9

from cdm.

Venkata1920 avatar Venkata1920 commented on June 27, 2024

Hi @jschof , the "Load from files" option has been working for a while. Please ensure you do remove older versions as suggested by @sbrown-ai as they are old and hence not compatible.

from cdm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.