Software AG Products 10.7 | CentraSite for Developers | Custom Reporting Searches | Obtaining Details of Reporting Search
 
Obtaining Details of Reporting Search
Pre-requisites:
To obtain the details of a reporting search through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named get Search for this purpose.
*To display the details of a reporting search
*Run the command get Search.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd get search [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -savedSearch <SAVED-SEARCH> [-scope <SCOPE>]
The input parameters are:
Parameter
Description
CENTRASITE-URL
(Optional). The URL of the CentraSite registry. Default value is http://localhost:53307.
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.
SAVED-SEARCH
Name of the saved search in CentraSite.
SCOPE
The folder to store the newly added saved search in CentraSite.
The possible values are:
*global - This option stores the search information in "Default Organization" folder.
*org - This option stores the search information in the user's organization folder.
*user (default value) - This option stores the search information in the user folder.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd get Search -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage -savedSearch MySearch -scope org