Create custom mapping templates
It is possible to create custom templates for mapping configurations. This guide describes how to create such a custom template and also how to load templates from an additional location, where admin rights are not needed for modification.
Create a custom mapping template
Currently, there is no UI support for customizing or creating new templates. However, this is possible with the steps listed below:
- In EA, select an unconfigured package and start the configuration UI with Specialize > LemonTree.Connect codebeamer > Configure Mapping for Package.
- Create your custom mapping and finish with "Save".
- Select the configured package in the project browser.
- Right-click and select Properties > Properties...
- In the property dialog on the lower right, select the tab "Tags".
- Select the "configuration" tag and click the "..." button:
- The tagged value notes will be shown.
- Copy the entire XML content.
- Create a new file with the extension ".xml", paste the copied content and save the file.
- Based on the configured direction of the template, place the XML file in the following location:
- Import: C:\Program Files (x86)\LieberLieber\codebeamerEAAddin\mapping\Import
- Export: C:\Program Files (x86)\LieberLieber\codebeamerEAAddin\mapping\Export
If you cannot paste files to the Program Files folder, check out the next chapter for creating an additional loading location.
Additional loading location for templates
By default, templates will be loaded from the paths:
- C:\Program Files (x86)\LieberLieber\LemonTree.Connect.codebeamer\mapping\Export
- C:\Program Files (x86)\LieberLieber\LemonTree.Connect.codebeamer\mapping\Import
If you created custom mapping templates but you cannot copy the files to the "Program Files" folder (due to restrictions), you can create an additional location for loading templates.
Navigate to the folder C:\ProgramData\LieberLieber\ and create a folder called "LemonTree.Connect.codebeamer". In the folder "LemonTree.Connect.codebeamer" create a folder "mapping" and within the mapping folder create two folders called "Import" and "Export".
The final structure in the explorer should look like this:
Copy templates for importing to the "Import" folder and templates for exporting to the "Export" folder.
Once the templates are located in the respective folders, the custom templates should be available in the template section of the mapping configuration dialog.