Page History
This appendix includes the following topics:
Anchor | ||||
---|---|---|---|---|
|
The following section describes how to export a customized report from one Precise system and import it to another Precise system.
...
In the source Precise system, create the ForesightExportRequest.xml file in the Precise root folder. For example:
<root name="Export">
<report-name>In Sybase Breakdown</report-name>
<apptier>1201</apptier>
</root>Info The report-name value is case-sensitive.
- Run the following command:
infra\bin\psin_http_requestor -dp -x fs-export-import FS < ForesightExportRequest.xml > out.xml
- Check the out.xml file in the
<precise_root>
directory to view the status. - Copy the exported report .zip file from the source Precise root directory to the destination Precise installation in:
<i3_root>\distribution
Info The .zip file name consists of
<technology code>_<report name> (SY_In Sybase Breakdown.zip)
. For cross-Tiers the Tech code isALL (ALL_CA_Rep.zip)
. - In the destination Precise system, create the ForesightImportRequest.xml file in the Precise root directory. For example:
<root name="Import">
<report-name>SY_In Sybase Breakdown.zip</report-name>
<apptier<1174</apptier>
</root> - Run the following command:
infra\bin\psin_http_requestor -dp
x fs
- Check the out.xml file in the Precise root folder to view the status.
Anchor | ||||
---|---|---|---|---|
|
The following section describes how to copy customized reports from one Tier to another with the CLI utility.
...
- Run the following commands from the Precise root folder:
- Windows
<i3_root>\infra\bin\psin_cli.bat -i3-user <user> {-i3-clear-password <i3 clear password> | -i3-encrypted-password <i3 encrypted password>}
-action fs-copy-foresight-custom-report-parametersfile <parameters-file.xml> - UNIX
./infra/bin/psin_cli.sh -i3-user <user> {-i3-clear-password <i3 clear password> |
-i3-encrypted-password <i3 encrypted password>}
-action fs-copy-foresight-custom-report
-parametersfile <parameters-file.xml> - Example:
<i3_root>\infra\bin\psin_cli.bat -i3-user admin -i3-clear-password admin
-action fs-copy-foresight-custom-report -parametersfile my_parameters_file.xml
- Windows
Create the parameters-file.xml file in the Precise root folder and make sure it contains the following:
<parameters>
<parameter name="source-environment" value="Default"/>
<parameter name="source-apptier" value="SQL Server"/>
<parameter name="source-report" value="My_report"/>
<parameter name="destination-environment" value="Default"/>
<parameter name="destination-apptier" value="SQL Server"/>
</parameters>
and make sure to apply the information in the following notes.Info The parameter values are case-sensitive.
Info The "source-report" name must not contain blanks.
Info The new report name will have a suffix with a serial number (for example: "My_report_1").
Info To copy a Cross-Tier report, use the "Cross-AppTier" string for both the "source-apptier" and "destination-apptier" parameters.