Prev Next

Import MDG Technologies to Model

If you locate or create an MDG Technology that is of use to your project, you can import it into the project either:

  • For only your own use; that is, import the technology into the %APPDATA%\Sparx Systems\EA\MDGTechnologies folder on your workstation, or
  • To be available to all users of the model, through the Resources window for the model

To import an MDG Technology you must have a suitable MDG Technology XML file. If the MDG Technology includes references to any metafiles, they should be in the same directory as the MDG Technology XML file.

The Model Patterns provided with the MDG Technology must each have the relevant Pattern XML file, and an rtf file with the same file name containing a description of the Pattern, in the ModelPatterns directory within the Enterprise Architect install directory. 

On startup, Enterprise Architect scans both the APPDATA folder and the Enterprise Architect Install directory MDGTechnologies subfolder for technology files, to make them available through the 'MDG Technologies' dialog and, for model Technologies, the Resources window. Technologies imported to the APPDATA folder are indicated by the text 'Location: Technology.xml'. The Model Patterns have to be imported into the ModelPatterns directory on the user's system separately.

Access

Ribbon

Specialize > Technologies > Publish > Import MDG Technology

Context Menu

In the Resources window | Right-click MDG Technologies folder | Import Technology

Import a technology

Step

Action

1

On the 'Import MDG Technology' dialog, in the 'Filename' field, type the path and filename of the MDG Technology file to import, or browse for it using the Browse. button.

When you enter the filename, the MDG Technology name and version display in the 'Technology' and 'Version' fields, and any notes display in the 'Notes' field.

2

Select the appropriate radio button for the type of import you want to perform:

  • Import to Model
  • Import to User

3

Click on the OK button.

  • (If you selected the 'Import to User' option) If the APPDATA folder does not yet exist, Enterprise Architect creates it
  • If the MDG Technology already exists, Enterprise Architect displays a prompt to overwrite the existing version and import the new one

Once the import to APPDATA is complete, you must restart Enterprise Architect; the MDG Technology is then listed in the 'MDG Technologies' dialog.

Notes

  • To remove an MDG Technology that has been added to APPDATA, locate the appropriate XML file in the %APPDATA%\Sparx Systems\EA\MDGTechnologies folder and delete it
  • Consider the fact that some MDG Technologies can be large and might impose some delays on the workstation as they load each time a user connects to the model
  • To remove an MDG Technology from the Resources window and the model, either:
         -  Right-click on the Technology name and select the 'Remove Technology' menu option, or
         -  Click on the Technology name in the 'Manage MDG Technologies' dialog and click on the
             Remove button

Learn more