Using the create report view utility

To use the same report in multiple projects, you can use the CreateReportView command.

Before you begin

About this task

The CreateReportView command copies the source folder structure and report views to a target folder. The command includes parameters that you can use to pass pre-set values to the report views. You do not need to re-enter parameters whenever you view the report. You can specify any number of parameter name and value pairs.

To create the same reports sets for multiple projects

Procedure

  1. Open the Command window
  2. Point to folder [RCPR_installation_directory]/Report Tool
  3. Run CreateReportView.bat . On Linux®, Run ./CreateReportView.sh
  4. Input parameters in response to the following prompts:
    1. Enter Rational Quality Manager Custom Reporting Reporting Server URL Input the BI server URL, for example http:///RCPR/servlet/dispatch.
    2. Enter user name to login Input user name if authentication enabled. Otherwise press ENTER to ignore
    3. Enter password to login Input password if authentication enabled. Otherwise presds ENTER to ignore.
    4. Enter name space for this Server Input name space if authentication enabled. Otherwise press ENTER. The browser will display the name space so that you can input the name and password. But name space there is its display value, it may be different with its ID configured in Cognos® Configuration. This tool only accepts name space ID.
    5. Enter source folder name Input the folder name whose reports will be run and saved. It must be an existing folder located in public folder. Use "/" to indicate the folder path. For example, Sample Report Definitions/Data Warehouse Reports.
    6. Enter target folder name Input the folder name which will be used to save report views. The folder will be created if it does not exist.
    7. Enter parameters with name and value -paramName Input the parameter name of reports (such as All Programs). Otherwise input ENTER to ignore. -paramValue Input a parameter value, such as CMProgram.
    After executing the command, check if the target folder has been created on the target server and the reports saved.
    Note: All sub folders will be copied into the target folder. Only reports will be executed and saved as report views. Dashboard or other element types will be ignored.

Feedback