Create and customize templates
Creating a new project template
Templates are always based on an existing project template or on a project. Create or open a project and customize it so that it contains all the elements that should also be available in the template later.
- Go to the context-specific menu and select Create → New Project.
- Give the template a name and define a project abbreviation.
- Select the option Create as template.
- Under Create in, select an organization by selecting it.
- Depending on whether you have a project template as a file or you want to use an existing project template, click on the Project templates or File tab.
- Click Create.
When the template has been created, you will receive a message. The project template appears as a gray tile on the Userboard.
Import project template
microTOOL provides you with project templates in an Amazon cloud that you can download and import.
- Go to the context-specific menu and select Create → Import Template from Catalog.
- In the following dialog, click the button behind Available templates to load all available templates.
If project templates exist, they are displayed in the Name column. To the right you will find a description of the template.
- Select a template and click Import.
The project template is now available in the system.
Change project template and transfer to project
If a used project template has been edited in the meantime, you can apply the changes to the projects based on the template.
- Open a project.
- In the context-specific menu and select Project → Merge from Template.
- In the following dialog Differences between Template and Project you can see which data has been added (green) to the opened project, which data does not exist in the template or has been deleted (red) and which data has differences (yellow).
- Select the new elements and/or the changed ones and click Continue. The changes are now available in the project.
Define placeholders for project templates
Placeholders can be defined in project templates to assign specific names to packages, diagrams, or queries when creating a new project.
Define placeholder
You can determine which placeholders are replaced by which names. Decide in advance which placeholders you want to use. Go to the Explorer of the project template and replace the names of the elements with a placeholder. The name can be chosen freely and must be enclosed in curly brackets. Note that only placeholders that appear in the name of an element are replaced.
In addition to placeholders you define yourself, you can use the following system placeholders:
Name of the organization = {$organizationName}
Id of the organization = {$organizationId}
Name of the project = {$projectName}
Short identifier of the project = {$projectId}
Customize the configuration
- Open the project template.
- In the context-specific menu, select Project → Settings → Edit Configuration.
- In the following dialog you define which placeholders should be automatically replaced by explicit names when creating a new project.
- Add further placeholders to the xml by copying and pasting a line – beginning with <Placeholder... -.
- Overwrite the red areas with the corresponding contents.
Name stands for the placeholder assigned in the template. Use RequestReplacement to specify whether the text is to be displayed (true) or not (false). After Question, you enter for the later user what is to be replaced or what is to be entered. After ToolTip you can enter further notes.
- Save the configuration with OK.
xml-Snippet
If you have accidentally deleted the xml text, you can copy the following code and paste it into the dialog. The red digits can be replaced by other values:
<?xml version=“1.0″ encoding=“utf-8″ standalone=“yes“?>
<ProjectWizardConfiguration>
<Placeholder Name=“Domain“ RequestReplacement=“True“ Question=“Name the first domain?“ ToolTip=“What should the first domain be called?“/>
</ProjectWizardConfiguration>




