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.



See also

Create an .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 Technologiestopic. 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 for you, you can 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 list above.)

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.