CentraSite 10.7 | CentraSite Developer's Guide | Custom Policy Actions | Computed Run-Time Actions | Activating the Computed Run-Time Action
 
Activating the Computed Run-Time Action
After you define the computed action as a plug-in (extension point) with the above steps, enable the computed action in the Business UI customization file, centrasite.xml, in order to display the action in the policy accordion.
Important:
Remember that the action parameters defined in the configuration file are editable and cannot be protected.
*To activate the plug-in
1. Open the customization file, centrasite.xml, in a rich text editor.
You can find the centrasite.xml file on <CentraSiteInstall_Directory>\cast\cswebapps\BusinessUI\custom\conf.
2. Navigate to the property lines <UIProperties> -> <Extensions> -> <PolicyActions>
3. Append the property statement for your custom computed runtime action (MyComputedRuntimeAction) as below:
<PolicyActions>
<PolicyAction id="uddi:44e3e2de-064c-432f-b67a-8fbca0fb04d6"
class="com.softwareag.centrasite.bui.extension.service.
MyComputedRuntimeActionParser" />
</PolicyActions>
wherein,
Parameter
Description
id
A unique identifier for the computed action.
It uniquely distinguishes an action in the CentraSite registry. If you wish to reconfigure the action at a later stage, you identify the action using this id.
class
A parser implementation for the computed action.
4. Save and close the configuration file.
5. Restart Software AG Runtime.