CentraSite Documentation : CentraSite Administrator’s Guide : Basic Operations : Usage of the CentraSite Command Tools : Managing Reports and Scheduled Reports from the Command Line : Associating an Asset Type to a Report
Associating an Asset Type to a Report
Use the add Report Association command to associate an asset type to a report.
The syntax for the command is:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd|sh add Report Association [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -associatedReport <ASSOCIATED-REPORT> -associatedType <ASSOCIATED-TYPE>
If you start this command line tool with no parameters, you receive a help text summarizing the required input parameters.
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.
-associatedReport
Name or ID (UUID) of the report you want to associate to asset type(s). If the report name contains white spaces, enclose the name with "".
-associatedType
Name of a particular asset type you want to associate to the report identified by the parameter -report, or simply "Asset Type" to associate all of the predefined asset types to the report.
If the asset type name contains white spaces, enclose the name with "". For multiple asset types, use a comma to separate the values.
Example:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd|sh add Report Association -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage –associatedReport “API Usage Report” -associatedType "REST Service"
The response to this command could be:
Executing the command : add Report Association

Successfully executed the command : add Report Association
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback