Weave uses BIRT as its default reporting engine for producing printed reports. The reports are built using the BIRT Report Designer application that is part of BIRT and then the report designs produced by the report designer are registered with Weave to make them available for generation by users.
BIRT Report Designer
Note |
---|
The BIRT report designer is no longer installed as part of Weave, it is now a separate download. To start the report designer use the birt.cmd batch file which is installed in the weave directory where you installed the desginer, do not use the birt.exe that is installed under the birt directory. |
...
To create either type of report registration requires the setting of the appropriate namespace for the BIRT configuration items in the config.xml file, the namespace for BIRT reports is com.cohga.server.report.birt, so if we include BIRT reports in a separate config file called reports.xml and include that into out main config.xml file then the initial contents of the report.xml file should be:
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="urn:com.cohga.server.config#1.0" xmlns:birt="urn:com.cohga.server.report.birt#1.0">
</config>
|
Then within the config tags we can add a new BIRT report entry for our sample report
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?>
<config xmlns="urn:com.cohga.server.config#1.0" xmlns:birt="urn:com.cohga.server.report.birt#1.0">
<birt:report id="sample" report="reports\sample_report"/>
</config>
|
...