Application Service Guide > Reporting and Dashboards Service (Deprecated) > Reports
  

Reports

You can run the PowerCenter and Metadata Manager reports from JasperReports Server. You can also run the reports from the PowerCenter Client and Metadata Manager to view them in JasperReports Server.

Reporting Source

To run reports associated with a service, you must add a reporting source for the Reporting and Dashboards Service.
When you add a reporting source, choose the data source to report against. To run the reports against the PowerCenter repository, select the associated PowerCenter Repository Service and specify the PowerCenter repository details. To run the Metadata Manager reports, select the associated Metadata Manager Service and specify the repository details.
The database type of the reporting source can be IBM DB2, Oracle, Microsoft SQL Server, or Sybase ASE. Based on the database type, specify the database driver, JDBC URL, and database user credentials. For the JDBC connect string, specify the host name and the port number. Additionally, specify the SID for Oracle and specify the database name for IBM DB2, Microsoft SQL Server, and Sybase ASE.
For an instance of the Reporting and Dashboards Service, you can create multiple reporting data sources. For example, to one Reporting and Dashboards Service, you can add a PowerCenter data source and a Metadata Manager data source.

Adding a Reporting Source

You can choose the PowerCenter or Metadata Manager repository as data source to view the reports from JasperReports Server.
    1. Select the Reporting and Dashboards Service in the Navigator and click Action > Add Reporting Source.
    2. Select the PowerCenter Reporting Service or Metadata Manager Service that you want to use as the data source.
    3. Specify the type of database of the data source.
    4. Specify the database driver that the Reporting and Dashboards Service uses to connect to the data source.
    5. Specify the JDBC connect string based on the database driver you select.
    6. Specify the user name for the data source database.
    7. Specify the password corresponding to the data source user.
    8. Click Test Connection to validate the connection to the data source.

Running Reports

After you create a Reporting and Dashboards Service, add a reporting source to run reports against the data in the data source.
All reports available for the specified reporting source are available in Jaspersoft Server. Click View > Repository > Service Name to view the reports.

Exporting Jasper Resources

You can run the export Jasper resources command to export reports from the JasperSoft repository.
Verify that the default_master.properties file contains valid data.
  1. 1. Navigate to the following directory: INFA_HOME\jasperreports-server\buildomatic
  2. 2. Enter the following command to export the Jaspersoft repository resources:
  3. js-ant export –DexportArgs=”--roles <role name> --roles-users <user name>
    --uris /<Report_Folder_Name> --repository-permissions --report-jobs
    --include-access-events” -DdatabasePass=<password>
    -DdatabaseUser=<username> -DexportFile=<File_Name>.zip
  4. 3. Repeat the process for all the report folders that you want to export.

Importing Jasper Resources

You can run the import Jasper resources command to import reports from the JasperSoft repository.
Verify that the default_master.properties file contains valid data.
  1. 1. Navigate to the following directory: INFA_HOME\jasperreports-server\buildomatic
  2. 2. Enter the following command to import the Jaspersoft repository resources:
  3. js-ant import -DdatabaseUser=<username> -DdatabasePass=<password>
    -DimportFile=<File_Name>.zip
  4. 3. Repeat the process for all the report folders that you want to export.

Connection to the Jaspersoft Repository from Jaspersoft iReport Designer

You can connect to the Jaspersoft repository when you configure access to JasperReports Server from the Repository Navigator in Jaspersoft iReports Designer.
Add a server and specify the JasperReports Server URL using the following format:
http(s)://<host name>:<port number>/ReportingandDashboardsService/services/repository
After you specify the database user credentials and save the details, you can use this server configuration to connect to the Jaspersoft repository.
To run Jaspersoft iReport Designer, you must set the JAVA_HOME environment variable to the Java installation directory. You can use the Java installation available with the Informatica client.
You can set the JAVA_HOME environment variable to the following location: <Informatica client installation location>\clients\java)
Note: If you use a separate Java installation, ensure that you use Java 1.7.