Skip to content

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:

  1. In EA, select an unconfigured package and start the configuration UI with Specialize > LemonTree.Connect codebeamer > Configure Mapping for Package.
  2. Create your custom mapping and finish with "Save".
  3. Select the configured package in the project browser.
  4. Right-click and select Properties > Properties...
  5. In the property dialog on the lower right, select the tab "Tags".
  6. Select the "configuration" tag and click the "..." button:
  7. The tagged value notes will be shown.
  8. Copy the entire XML content.
  9. Create a new file with the extension ".xml", paste the copied content and save the file.
  10. Based on the configured direction of the template, place the XML file in the following location:
    1. Import: C:\Program Files (x86)\LieberLieber\codebeamerEAAddin\mapping\Import
    2. 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:
final structure

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.