Launch ZRS report.
Click
.Click
on the top left.In the
panel, select .Copy and save the query.
Launch
on the ZENworks Reporting 5 device.Connect to ZENworks Reporting 5 through
.For more information, see Section 1.4, Connecting to ZENworks Reporting from iReport Designer.
Click
.Select the JDBC jar file based on the database. The file is located at %ZRS_HOME%/js/Apacha-tomacat/lib.
For Oracle: the OJDBC5.jar file.
For SQL Server: the sqljdbc.jar file.
For Sybase: the jconn4.jar file.
Click
.Click the datasource icon .
In the
panel, click .Specify a name for the datasource. For example, zenworks.
Select the database based on your database.
For Oracle: Oracle (oracle.jdbc.driver.OracleDriver)
For SQL Server: MS SQLServer (2005)(com.microsoft.sqlserver.jdbc.SQLServerDriver)
For Sybase: Manually specify Sybase (com.sybase.jdbc4.jdbc.SybDataSource)
Specify JDBC URL as follows:
For Oracle: jdbc:oracle:thin:@"+server+":"+port+"/"+database
For SQL Server: jdbc:sqlserver://"+server+"\\"+instanceName+";databaseName="+database
For Sybase: jdbc:sybase:Tds:"+server+":"+port+"?ServiceName="+database
Where server is database IP address, port is database port, databaseName is database. If SQL Server is configured with named instance, then specify instanceName.
Specify the database credentials, then select
.Click
to test the database connection, then click .Click
, after the Query to create a report in the .In the
panel, select the template for the report.Click
.Specify the details, click
, then click to display the template.The Report template includes various columns, such as
, , , and so forth.You can format and create the report by using the panel, panel, and panel. provide details about the report, enables you to connect to ZENworks Reporting, and panel provides report elements that are used in the report. These sub menus are available in the menu.For more information, see the Jaspersoft iReport Guide.
In the .
In the
panel, select from the list.Paste the copied query (from ZRS report) mentioned in Step 5.
All fields related to the query are displayed. If an error is displayed, it indicates that the query has issues, and the query must be modified.
Click
.In the
panel, expand .Select all of the fields and drag them into the
band.All of the fields are added to the report with their respective names on
.If you want to format the report, for example, to change the
, select s, then change the Height, Width, Border, Font Size, Font Style, and so forth.After creating a report, perform the following steps to upload it into ZENworks Reporting 5:
In the
panel, expand tree.Select the folder location, then
.In the
, specify the details, then click .Select
and browse to a report.Click
.In the /datasources/ZENworks_Datasource.
list, selectClick
.Run the report in ZENworks Reporting 5.