Viewing the Asset Types Associated to Report
Pre-requisites:
To list the asset types that are associated to a report through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named list Report Associations for this purpose.
To list asset types associated to a report
Run the command list Report Associations. The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd list Report Associations [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -associatedReport <ASSOCIATED-REPORT>
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. |
ASSOCIATED-REPORT | Name or key of the report you want to fetch the list of associated asset types. If the report name contains white spaces, enclose the name with "". |
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd list Report Associations -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage –associatedReport “API Usage Report”
The response to this command could be:
Executing the command : list Report Associations
Successfully executed the command : list Report Associations