CentraSite Documentation : CentraSite Administrator’s Guide : Basic Operations : Usage of the CentraSite Toolbox Scripts : Updating Policy Actions from the Command Line
Updating Policy Actions from the Command Line
Use the toolbox command, UpdatePolicyActionImplementation, to update the implementation file of a policy action template even if the action template is used by one or more policies.
Note:  
This toolbox command applies only for custom action templates. This toolbox command does not apply to predefined action templates installed with CentraSite.
The syntax for the toolbox command is:
C:\SoftwareAG\CentraSite\utilities>CentraSiteToolbox.cmd|sh UpdatePolicyActionImplementation.jar <CentraSite DB URL> <administrator user id> <password> <action category name> <action template name> <action implementation file>
The input parameters are:
Parameter
Description
<CentraSite DB URL>
(Optional). The fully qualified URL of the CentraSite registry/repository. Default value is http://localhost:53307.
<administrator 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 <administrator user id>.
<action category name>
Name of the policy action category to which the action template belongs to. If the action category name contains white spaces, enclose the name with "".
<action template name>
Name of the policy action template you want to update. If the action template name contains white spaces, enclose the name with "".
<action implementation file>
Name of the action implementation file to update. You can update the values in this file. If you are saving the file in a different location other than <CentraSiteInstallDir>/utilities, provide the absolute file path.
Example:
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"
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback