Please note : This help page is for an older version of Enteprise Archtiect. The latest help can be found here.

Topic
Prev Next

Export Code Generation and Transformation Templates

It is possible to export Code Generation and Transformation templates from your model to a .xml file. You can then import that file - and hence the templates - into other models, as reference data. You can export customized templates, which includes those that you or other users have created and updated, and base (standard) templates that have been tailored. You do not need to export base templates that have not been changed, as these are available in every installation of Enterprise Architect.

Access

Ribbon

Configure > Model > Transfer > Export Reference Data

Export a Code Generation template or Transformation template

Step

Action

See also

1

On the 'Export Reference Data' dialog, in the 'Name' list, select the templates to export.

The list includes any standard Code Generation or Transformation templates that have been changed, and any customized templates that you have created or changed.

You can select one or more templates to be exported to a single XML file, by pressing Ctrl or Shift as you click on the template names.

Export Reference Data

2

Click on the Export button.

3

When prompted to do so, enter a valid file name with a .xml extension.

4

Click on the Save button and on the OK button.

This exports the template(s) to the file; you can use any text or XML viewer to examine the file.

Learn more