Book a Demo

Author Topic: Importing a MDG technology to a model  (Read 4427 times)

Model Trainer

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Importing a MDG technology to a model
« on: June 08, 2023, 06:13:10 am »
Hi everybody,

I downloaded a model from the EA Sparx training series, which contains a customized MDG technology. I can see the technology in the resource part of the browser. I want to add this tech to my another model. what would be the steps? I tried to export it into an XML file and then import it to my another model, but I got errors that the EA can't read the source. Can you please provide me a solution to this issue?

Thanks

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Importing a MDG technology to a model
« Reply #1 on: June 08, 2023, 06:55:21 am »
AFAIK you can not export an imported MDG. However, it's stored in the tables in raw format. Perhaps you can dump/import that with either a script or via a native client.

The "simplest" way is to copy the EAP, remove its contents and move in your own root. That will keep the MDG.

q.

wikitect

  • EA User
  • **
  • Posts: 117
  • Karma: +2/-0
    • View Profile
    • TRAK Community
Re: Importing a MDG technology to a model
« Reply #2 on: June 10, 2023, 09:50:16 pm »
MDG Technologies are enabled/disabled using the Specialize / Manage Technology menu.

Once enabled the MDG is available for any EA project (unless you've specified that for the particular project it is to be disabled). No importing is therefore needed.

You have first to tell EA where the xml file containing the various UML profiles that form the technology are located (the Advanced > Add Path). To create the MDG technology XML file there is a Wizard started using Specialize > Publish Technology > Generate MDG Technology menu item). It's quite involved requiring at each step telling EA where the UML profile is (elements), diagram profile is, toolbox profiles are, etc so it nknows what to build into the final XML file.

======
Favourite epitaph: 'Under this sod lies another'

TRAK Framework https://sf.net/p/trak
MDG for TRAK https://sf.net/p/mdgfortrak

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Importing a MDG technology to a model
« Reply #3 on: June 13, 2023, 09:38:55 am »
Once enabled the MDG is available for any EA project (unless you've specified that for the particular project it is to be disabled). No importing is therefore needed.
If they imported the technology into their project then this is wrong. In which case I'd just recommend the easiest approach is to re-download the file. If they want it to be available in all their projects (and not to other users of those projects) then use the import technology dialog to import to the user profile instead of the model.