Import-export report templates

Report templates and the referenced files (libraries, styles, images and dictionaries) are stored in the Repository. They can be imported and exported from the Repository database via the Repository console.

The report templates must be organized in the file system according to the following structure of directories:

Directory Subdirectory Description
reportTemplates collection Templates that are attached to Collection Types with a specific version or any version
  dictionaries Dictionary files
  libraries BIRT library files
  object Templates that are attached to Object Types with a specific version or any version.
  otherTemplates Templates that are attached to Tags.

Import

To import the report templates structure, use the importReportTemplates command from the Configuration Repository console. The location of the reportTemplates predefined folder must be specified by the [ImportDirectory] parameter.

Export

To export the report templates structure, use the exportReportTemplates command from the Configuration Repository console. The location of the reportTemplates predefined folder must be specified in the [ExportDirectory] parameter.

Delete

To delete all the existing report templates, use the cleanReportTemplates command in the Configuration Repository console.

Related Links