Adding a New Report
Use the add Report command to add a new report to CentraSite.
The syntax for the command is:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd add Report [-url <CENTRASITE-URL>] -user <USER-ID>-password <PASSWORD>-file <CONFIG-FILE>–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. |
-file | |
-template | Name of the BIRT report design (.rptdesign) file. |
Example:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd add Report -url http://localhost:53305/CentraSite/CentraSite –user Administrator –password manage –file c:\temp\APIUsageReportConfig.xml –template c:\temp\APIUsageReport.rptdesign
The response to this command could be:
Executing the command : add Report
Report API Usage Report was successfully added
Successfully executed the command : add Report