Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The BIRT designer that is installed with Weave contains a Weave Data Source component that's available for adding data generated by Weave to a report.

Create a Data Source

Adding data to a BIRT report that is generated by Weave is done in the same manner as data from any other data source that BIRT supports, but you need to choose the "Cohga Weave Oda Data Source" driver when creating a new data source, which is done by right clicking on the Data Source item in the Outline panel in the BIRT designer and selecting New Data Source. Image Added
From the next screen you need to enter the URL of a Weave server that is currently running and will be serving the data that you wish to include in the report. Image Added
The URL entered here is only used during report design, since when the report is actually being generated it's being generated within the Weave server itself and therefore knows how to connect.

This allows us to use localhost, as in the example above which assumes the Weave server is running on the local machine, or the host name of another Weave server and still be able to copy the report to another server running Weave.

Note

The username and password fields are not currently used

Info

The Test Connection button will check if a connection can be established to the Weave server pointed to by the URL parameter

Once you click Finish you will have a new data source connection available for retrieving data from a Weave server Image Added

Creating a Data Set

The next step is to create a Data Set, which represents a Weave data definition that can be included in the report design.

Again to create a new Data Set you right click on the Data Sets item in the Outline panel. Image Added