Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Working with MTS Files

An MDG Technology Selection (.MTS) file stores the selected options that you define when creating an MDG Technology File using the MDG Technology Wizard.

If you use a .MTS file, you can edit it to change the features selected when you generated the file, and to add or remove the advanced features described in this topic.

Topics

Action

Description

See also

Create a .MTS File

To create a .MTS file, select the Tools | Generate MDG Technology File menu option to launch the MDG Technology Wizard, and work through the screens as described in the Create MDG Technologies topic.

On the second page, select the Create a new MTS file option.

 

Create MDG Technologies

Advanced Options For Your .MTS File

Once you have created the .MTS file, you can add:

Model Search definitions - If you use a custom SQL search, the SQL must include ea_guid AS CLASSGUID and the object type
Model Views - Technology views do not store Favorite packages, only Views; if your exported views run searches that you have defined you must also include those searches in your MDG Technology
Model Validation configurations
Model Templates

 

Open the .MTS file in a text editor; to make it easier, copy the following lines and paste them into the file before the last line of the file (that is, just before the </MDG.Selections> lines:
 

 <ModelSearches file=""/>

 <ModelViews file=""/>
 

(The code for the model validation configurations and model templates is provided in the corresponding sections, accessed via the links in the right-hand column.)

You can, if necessary, have more than one line for each inclusion - for example, more than one ModelSearch; for each inserted line:

In the file attribute, enter the filename of the Model Search XML file or Model View XML file

 

Save the .MTS file.

 

Model Search Definitions

Model Views

Model Validation Configurations

Model Templates

Update the MDG Technology

Again select the Tools | Generate MDG Technology File menu option, but this time on the second page select Open an Existing MTS file and specify the file path of the .MTS file you have updated.

Click on <Next> until the wizard is finished; your MDG Technology file is updated.