Software AG Products 10.11 | Using CentraSite | Report Management | Managing Reports and Report Templates through Command Line Interface | Downloading Report Template
 
Downloading Report Template
Pre-requisites:
To download the BIRT report design (that is used for constructing a report template) through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named download Report Template for this purpose.
*To download the BIRT report design
*Run the command download Report Template.
The syntax is of the format: 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
CENTRASITE-URL
(Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
USER-ID
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-ID.
REPORT
Name or key of the report you want to download. If the report name contains white spaces, enclose the name with "".
TEMPLATE-FILE
Name of the output file to download the BIRT report design.
Examples (all in one line):
Providing report name:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd download Report Template -url http://localhost:53307/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:53307/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