Downloading an Existing Report Template
Use the download Report Template command to download the BIRT report design.
The syntax for the command is:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd download Report Template [-url <CENTRASITE-URL>] -user <USER-ID>-password <PASSWORD>-report <REPORT>–template <TEMPLATE-FILE>
The input parameters are:
Parameter | Description |
-url | (Optional) The URL of the CentraSite registry. Default value is http://localhost:53307. |
-user | The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator. |
-password | The password for the registered CentraSite user identified by the parameter -user. |
-report | Name or key of the report you want to download. If the report name contains white spaces, enclose the name with "". |
-template | Name of the output file to download the BIRT report design. |
Examples:
Providing report name:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd download Report Template -url http://localhost:53305/CentraSite/CentraSite –user Administrator –password manage –report “API Usage Report” –template c:\temp\APIUsageReport1.rptdesign
Providing report key:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd download Report Template -url http://localhost:53305/CentraSite/CentraSite –user Administrator –password manage –report uddi:137738d6-c66b-11e4-8896-da7def414f92 –template c:\temp\APIUsageReport1.rptdesign
The response to this command could be:
Executing the command : download Report Template
Report Template successfully written to c:\temp\APIUsageReport2.rptdesign
Successfully executed the command : download Report Template