Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
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 or as you click on the template names. |
Export Reference Data |
2 |
Click on the . |
|
3 |
When prompted to do so, enter a valid file name with a .xml extension. |
|
4 |
Click on the and on the . This exports the template(s) to the file; you can use any text or XML viewer to examine the file. |
Learn more