Modifying Policy Action Implementation
Pre-requisites:
To modify the implementation details of a policy action through CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a Java tool named UpdatePolicyActionImplementation.jar for this purpose.
Note:
This tool is applicable only for custom action templates. The tool does not apply to predefined action templates installed with CentraSite.
To modify the implementation details of a policy action
Run the Java tool UpdatePolicyActionImplementation.jar. The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd UpdatePolicyActionImplementation.jar <CentraSite URL> <admin user id> <password> <action category name> <action template name> <action implementation file>
The input parameters are:
Parameter | Description |
<CentraSite URL> | The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite. |
<admin user id> | The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator. |
<password> | The password for the CentraSite user identified by the parameter <admin user id>. |
<action category name> | Name of the action category that contains the template to be modified. If the category name contains white spaces, enclose the name with "". |
<action template name> | Name of the action template you want to modify. If the template name contains white spaces, enclose the name with "". |
<action implementation file> | Name of the action implementation file to be modified. You can change the values in this file. If you are saving the file in a different location other than <CentraSiteInstall_Directory>/bin, provide the absolute file path. |
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd UpdatePolicyActionImplementation.jar http://localhost:53307/CentraSite/CentraSite DOMAIN\\admin pAsSw0rD "Design Time" "My Custom Policy Action" "c:/policy_action_implementation.zip"