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 again enter the parameters when
you next view the report. You can specify any number of parameter
names and value pairs.
To create the same reports sets for multiple
projects:
- Open the Command window.
- Go to the Rational_Insight_installation_directory/ReportTool directory.
- Run the
Run CreateReportView.bat command
or
Run ./CreateReportView.sh command.
- In response to the following prompts, specify the parameters:
- Enter Rational Insight Reporting Server URL -
Specify the URL for the Rational® Insight
report serverreporting
server, for example http://insight/servlet/dispatch.
- Enter user name to login - If authentication
enabled, specify the user name. Otherwise, press ENTER.
- Enter password to login - If authentication
enabled, specify the password Otherwise, press ENTER.
- Enter name space for this Server -
If authentication enabled, specify the name space. Otherwise, press
ENTER. The name space is displayed in the browser so that you can
enter the name and password. However, the displayed name space might
be the value of the name space parameter, which
can be different from the ID of the name space as configured in Cognos® Configuration. Make sure
that you specify the name space ID.
- Enter source folder name - Specify
the name of the folder from where the reports will be run and saved.
It must be an existing folder located under Public folder.
To specify the folder path, use /, for example Sample
Report Definitions/Data Warehouse Reports.
- Enter target folder name - Specify
the name of the folder where the report views will be saved. If this
folder does not exist, it will be created.
- Enter parameters with name and value -paramName -
Specify the parameter name of reports (such as All Programs). Otherwise,
press ENTER. -paramValue - Specify a parameter
value, such as CMProgram.
After executing the command, verify if the target folder
has been created on the target server and the reports saved.
Note: All
subfolders 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.