To use the same report in multiple projects, you can use
the CreateReportView command.
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
- Open the Command window
- Point to folder [RCPR_installation_directory]/Report
Tool
- Run CreateReportView.bat . On Linux®, Run ./CreateReportView.sh
- Input parameters in response to the following prompts:
- Enter Rational Quality Manager Custom Reporting
Reporting Server URL Input the BI server URL, for example
http:///RCPR/servlet/dispatch.
- Enter user name to login Input user
name if authentication enabled. Otherwise press ENTER to ignore
- Enter password to login Input password
if authentication enabled. Otherwise presds ENTER to ignore.
- 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.
- 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.
- 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.
- 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.