This sections details how to modify BIRT report designs and registrations to alter the report that the user can generate.
Report Customisation
The first thing we need to look at the the label for the report in the report view.
Report Label
When displaying the report to the user Weave will use the Display Name property set in the report design to obtain the text, for the Blank Report template the text for this property is "Blank Report", so that was the text that was displayed in the report panel in the client.
So we could go back to the report design, change the Display Name and save the report, then the next time the client starts the report will have the new label in the report view.
Alternatively we can set the label directly in the report registration in the config file
<?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" label="Sample Report"/> </config>
Report Description
If you hold the mouse cursor over the report label in the report view you'll notice a description of the report popup
Again, this can be changed by editing the report design and changing the Description in the report properties
Or alternatively you can set a 'description' property in the report registration.
<?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" label="Sample Report" description="Sample for demonstrating BIRT"/> </config>