Book a Demo

Author Topic: Create Shared MDG  (Read 5288 times)

Tehila1

  • EA User
  • **
  • Posts: 256
  • Karma: +0/-0
    • View Profile
Create Shared MDG
« on: October 11, 2015, 08:13:12 pm »
Hello,

I would like to share templates over our team.
The models are version controlled, but there is no one shared model; there is a different model for each employee.

As far as I understand, there is an option to create an MDG that is remotely accessible.

How should I create such an MDG and add my templates to it?

Thanks in advance!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Create Shared MDG
« Reply #1 on: October 12, 2015, 06:58:48 pm »
Look in the helpfile and follow the instructions.
It is really simple point and click.

Geert

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Create Shared MDG
« Reply #2 on: October 12, 2015, 07:25:14 pm »
Hello Tehila,


Assuming you know how to create the MDG Technology and have the resulting XML file, proceed as follows.

1) Set up a directory on a shared file server that everyone can access (read-only is fine).

2) Place the MDG Technology XML file in that directory.

3) Inform everyone to add the path to the directory in their EA installations.
3.1) Open Settings -- MDG Technologies...
3.2) In the "MDG Technologies" dialog, click Advanced...
3.3) In the "MDG Technologies - Advanced" dialog, click Add -- Add Path (opens a file browser dialog), or Add -- Add URL (lets you type in a URL).
3.4) Input the path to the shared directory in the appropriate format.
3.5) "OK" your way back to the first dialog.
3.6) Check that the MDG Technology is in the list and is checked.

This may also be a good opportunity to deselect some MDG Technologies you're not using. Having them selected doesn't hurt as such, but it clutters up certain menus (eg diagram context -- New Element or Connector -- Other). Just make sure the top three, as well as EAScriptLib, are selected, those are the core ones from Sparx.

The settings in the "MDG Technology" dialog are global, ie not related to any projects or sessions, and are stored in the EA installation (registry). So the users may use the same MDG Technology in multiple projects without changing their selections.

A new version is made available simply by overwriting the file in the directory. The users can restart EA, or open the dialog, uncheck the MDG Technology, "OK", open it again, check the MDG Technology, "OK".

It is important not to leave old versions lying around, since EA will get confused if the same profile appears in multiple MDG Technologies (not sure what it will do with document templates, which aren't part of a profile, but keep it simple and only ever have one version deployed and you'll be fine).


Cheers,


/Uffe
« Last Edit: October 12, 2015, 07:26:45 pm by Uffe »
My theories are always correct, just apply them to the right reality.

Tehila1

  • EA User
  • **
  • Posts: 256
  • Karma: +0/-0
    • View Profile
Re: Create Shared MDG
« Reply #3 on: October 18, 2015, 09:58:19 pm »
Thanks Uffe for detailed answer!

Robert Lelieveld

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Create Shared MDG
« Reply #4 on: October 27, 2015, 08:24:41 pm »
Hi,

Is it possible to store info like this in a database? And have EA fetch MDG from there?

Thinking about our environment where people already have their local shares mapped for their site/region, adding a general one looks a bit cumbersome (plus you can't do that for all applications, that will get messy in the end).

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Create Shared MDG
« Reply #5 on: October 27, 2015, 09:00:31 pm »

Robert Lelieveld

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Create Shared MDG
« Reply #6 on: October 28, 2015, 06:19:17 pm »
Hi Geert,

Great!
Thanks, I wasn't aware of this.

- Robert