Templates


The Generate from Template function is a retrieval/extraction mechanism for project information. It is based on a template file, a string containing template variables and edition codes, which is processed by replacing those variables and edition codes by the strings they represent. The template file uses functions to extract metadata from the project accessible via an API of repository functions. The list of repository functions is available in the application in the Help > Plug-ins window. The output of processing a template is one or more text files.

This feature can be used for many purposes like generating HTML, Data Definition Language, Import/Export with third party products, reporting, etc. You should use it as a primary way to extract and format project information.


See:

Template files language reference

Refer also to the Template API documentation located in the doc / template-API directory of Open ModelSphere.