This appendix includes the following topics:
The following section describes how to export a customized report from one Precise system and import it to another Precise system.
Before you begin, find the source Tier ID and the destination Tier ID in the PS_INAP_APP_TIER or PS_FSEC_ENV_CONTENTS tables. |
To export/import a customized report
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>
The report-name value is case-sensitive. |
infra\bin\psin_http_requestor -dp -x fs-export-import FS < ForesightExportRequest.xml > out.xml
<precise_root>
directory to view the status.<i3_root>\distribution
The .zip file name consists of |
infra\bin\psin_http_requestor -dp
x fs
The following section describes how to copy customized reports from one Tier to another with the CLI utility.
To copy a customized report
<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>
./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>
<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
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.
The parameter values are case-sensitive. |
The "source-report" name must not contain blanks. |
The new report name will have a suffix with a serial number (for example: "My_report_1"). |
To copy a Cross-Tier report, use the "Cross-AppTier" string for both the "source-apptier" and "destination-apptier" parameters. |