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.
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.
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.
The username and password fields are not currently used
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
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.
When you hit next you will get a page listing the entities and data definitions available on the server, and here you choose what data you want to retrieve.
Here you can see the list of available entities in the left column and the list of all available data definition at the bottom of the middle column.
If you select one of the entities in the left column the list at the top of the middle column will populate with the list of data's that are associated with that entity.
The error at the top of the Data Set form indicates that we must choose a Data or Data Definition now that we've selected an entity
Now we need to select the Data or Data Definition that will be the actual source of the data we wish to display.
Once we've done this the Finish button is enabled again so we can complete the creation of the data definition.
The third column, Filters, is used when creating a one to many data set and will be covered later.
But it also gives an indication of the values that will be returned for the data set.
Once you click Finish you will progress to the standard BIRT data set editing wizard
thisĀ