Software AG Products 10.5 | Using CentraSite | Policy Management | Managing Design-Time and Change-Time Policies through Command Line Interface | Modifying Action Category Details
 
Modifying Action Category Details
Pre-requisites:
To modify an existing action category through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named set Action Category for this purpose.
You provide the key that identifies the category to be updated as an input to the command. The action category key can be obtained by using the list Action Categories command.
Note:
You cannot change the policy definition type. But you can rename an action category.
*To modify an existing action category
*Run the command set Action Category.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set Action Category [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -actioncategory <ACTION-CATEGORY> [-id <ID>]
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.
ACTION-CATEGORY
The new name of the action category that you want to rename. If the new category name contains white spaces, enclose the name with "".
ID
The ID of the action category you want to rename. You can specify the UDDI key of the category using an optional prefix uddi:.
For example:
uddi:137738d6-c66b-11e4-8896-da7def414f92
Examples (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd set Action Category -url http://localhost:53307/CentraSite/CentraSite –user Administrator –password manage –actioncategory "New Custom Action Category" -id uddi:137738d6-c66b-11e4-8896-da7def414f92
The response to this command could be:
Executing the command : set Action Category

Action Category named Custom Action Category is updated successfully

Successfully executed the command : set Action Category