Storing Word and Excel Report Templates
You can create and add new and customized Word and Excel Templates for Codebeamer, and the Word or Excel export GUI will show such custom templates. These templates can be stored in the Document Management, where each project has several folders under the .Codebeamer/Templates directory in the Document Management and from a directory in the file system under $CB_HOME/tomcat/webapps/cb/exporttemplates.This can contain templates.
Each export needs different export templates. For example, a TestRun export needs a different template than a simple Tracker Item export.
To separate the templates tailored for certain kinds of export, for example, a TestRun export, each type of export has its own subfolder in the main template directory. For example, when exporting TestRuns the templates are shown from the ../exporttemplates/TestRuns directory in the file system and similarly from the .codeBeamer/Templates/TestRuns directory in the Document Management.
The template directories for different exports are:
Directory
What kind of templates?
Trackers
Templates for exporting non-categorized Work Items, like Bugs or Tasks
TestCases
exporting Test Cases
TestRuns
exporting Test Runs
Coverage
exporting Coverages
Traceability
exporting Traceability reports
Wiki
exporting Wiki pages
Review
exporting Reviews
ReleaseNotes
exporting Release Notes
TrackerHistory
exporting Trackers' change history (audit)
Where should I store the new templates then?
If your template is specific to a certain project, you can add your template to the Document Management directory. However, this template will be only shown for the project where the template is.
* 
For security reasons, the Excel templates in the Document Management can only be used for export if a System Administrator uploads these. The System Administrator must review the Excel template's content to avoid potential security problems or misuses by the scripts in the templates. As for Word templates, any user's upload can be used for export.
However, if the template needs to appear in all projects, it should be put into the file system. The limitation is that you need to be System Administrator to access the file system. These templates cannot be limited: they will appear for all users who can do exports.
Was this helpful?