Let me suggest ...

Import model from XMI 2.1

Import model from XMI 2.1 or later. This will move the legacy of multiple users to the cloud very quickly, making GenMyModel adoption much faster. The lack of this import is an obstacle for those who have many models in another tool.

56 votes
Sign in
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Wanderlan Santos dos Anjos shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →


    Sign in
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      • Anshul commented  ·   ·  Flag as inappropriate


        I was actually evaluating GenMyModel to make a switch from Draw.io/Visual Paradigm we currently use. I really liked the experience on most parts but a couple of things are missing at this moment.

        Firstly, I wanted to achieve the functionality below (present in Draw.io):

        1. Let's say I have classes like LoginPresenter, LoginInteractor, LoginView, LoginController etc in my Class Diagram following the Clean Architecture pattern

        2. Now I want to follow the same pattern across various use-cases, let's say for Home Screen the classes are named HomePresenter, HomeInteractor, HomeView, HomeController etc. Now, I can copy the diagram : yes; but to rename the each class to change the prefix from Login to Home will require manual effort of clicking each class unit and renaming it. I was thinking of a functionality like a Batch Rename, so for this I was exporting the XMI, replacing the prefix using a text editor and importing it back.

        Second functionality which I really require is:
        When I generate code for Classes which implement an interface, the interface functions are not part of the Class files generated.

      • AdminSupport Axellience / GenMyModel (Support, GenMyModel) commented  ·   ·  Flag as inappropriate


        Thank you for your feedback.

        Unfortunately, unlike the BPMN2 standard, the XMI standard does not include the diagram in the exchange format, only the model part is concerned.

        Could you share with us your use case?
        GenMyModel already includes a versioning system.
        Why do you need to export and re-import from and to GenMyModel?

        Feel free to contact us in private message.


      • Anshul commented  ·   ·  Flag as inappropriate

        I exported a test UML project I created on genMyModel to XMI, and then imported it back to check if it works, but it doesn't. The project gets created with classes but the diagram page is blank. Can you please look into this? Being exported from genMyModel and importing it here itself, I expected it to work.

      • Frédéric Hoogstoel commented  ·   ·  Flag as inappropriate

        I tried unsuccessfully to export-import via XMI a model package from modelio 3.3 to GenMyModel.
        Here are the tests and results :

        1 - Export sous Modelio 3.3 en EMF UML 3.0 et import sous GenMyModel avec autodetection du type de modèle source
        => Sorry, we couldn't autodetect your model type. Please select a model type to get more detailed errors.
        2 - export en EMF UML 3.0 et import avec XMI-starUML comme type de modèle source
        => Failed to import model with error: Project identified by UMLPrimitiveTypes.library.uml not found
        3 - export en OMG UML 2.4.1, et import en choisissant model source : XMI v2.0 - UML v2 (Eclipse)
        => Failed to import model with error: Package with uri 'http://www.omg.org/spec/UML/20110701'; not found. (, 2, 62)
        4 - export en OMG UML 2.3, et export en choisissant model source : XMI v2.0 - UML v2 (Eclipse)
        => Failed to import model with error: Package with uri 'http://www.omg.org/spec/UML/20090901'; not found. (, 2, 62)
        5 - export en OMG UML 2.2, et import en choisissant model source : XMI v2.0 - UML v2 (Eclipse)
        => Failed to import model with error: Package with uri 'http://schema.omg.org/spec/UML/2.2'; not found. (, 2, 62)
        6 - OMG UML 2.1.1, et importée en choisissant model source : XMI v2.0 - UML v2 (Eclipse)
        => Failed to import model with error: Package with uri 'http://schema.omg.org/spec/UML/2.1.1'; not found. (, 2, 62)

        I can give you the various xmi files exported by modelio. Herad is the head of OMG UML 2.1.1 XMI file generated by modelio :

        <?xml version="1.0" encoding="UTF-8"?><xmi:XMI xmlns:xmi="http://schema.omg.org/spec/XMI/2.1&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:default="http:///schemas/default/_JCQdkA8mEeeu9shmoOze9w/0&quot; xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore&quot; xmlns:uml="http://schema.omg.org/spec/UML/2.1.1&quot; xmi:version="2.1" xsi:schemaLocation="http://www.eclipse.org/uml2/3.0.0/UML http://schema.omg.org/spec/UML/2.1.1 http:///schemas/default/_JCQdkA8mEeeu9shmoOze9w/0 default.profile.xmi#_JCTg5w8mEeeu9shmoOze9w">
        <uml:Model xmi:id="_JCH6sA8mEeeu9shmoOze9w" name="circuit">

      • radu commented  ·   ·  Flag as inappropriate


        I have a problem when a tried to import a StarUml 2.7.0 file into WhiteStarUml

        I had installed xmi extension in StarUml, export xmi work fine but import in WhiteStarUml don't work. Model is not charged



      • Michael Faughn commented  ·   ·  Flag as inappropriate

        The apparent inability of GenMyModel to import existing UML projects is what is keeping me (and my company) from giving it a real go. As far as I know, GenMyModel is the only web application that treats UML as more than pictures. We would love to have a good, collaborative web app for modeling. We use MagicDraw now and have developed several code generation plugins that seem like a natural fit for porting to use with GenMyModel but there is just no point in undertaking that work until we can move our existing projects into GenMyModel.

        Even if you haven't the resources to fully implement the import of every type of diagram or element specified by XMI it might be worth taking a stab at handling just some of the most common UML features / elements. Being able to import just a basic class diagram information (packages, classifiers, properties, associations, etc....maybe stereotypes) might be enough to get us and a lot of others to really give it a try.

        If you have to pick which version of XMI to use it seems the latest one that was an ISO standard
        would be the best choice.

      • Viggo Holmstedt commented  ·   ·  Flag as inappropriate

        I tried all the different versions of Visual Paradigm XMI exports in combination with all import XMI options in GenMyModel.

        All I get is "An unknown exception has been encountered". I would at least appreciate a more concise error description, if I can't have a successful import.

      • Diogo Castro commented  ·   ·  Flag as inappropriate

        From the Dashboard, you can select "Projects" from the left sidebar -> click on the green ARROW next to the "New Project" button at the top -> select "Import project". On the new screen, select "XMI v2.0" as the model source.

      • Doug Scott commented  ·   ·  Flag as inappropriate

        I agree. GenMyModel is a great tool, but to be able to exchange models both ways with other tools via XMI is critical. XMI is a standards-compliant exchange medium.

      • Anne commented  ·   ·  Flag as inappropriate

        What is the status of this idea? Is there any improvement? It would be interested to import UML model as well.

      Feedback and Knowledge Base