Software AG Products 10.11 | CentraSite for Developers | Customizing CentraSite | Customization of CentraSite Business UI | Customizing CentraSite Content Page | Computed Runtime Actions | Enable Runtime Action through Configuration
 
Enable Runtime Action through Configuration
After you define the computed action as an extension, enable the computed action configuration so as to display the action in the policy accordion.
Important:
The action parameters defined in the configuration file are editable and cannot be protected.
*To enable runtime action through configuration
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. Locate Policy Action Templates under <CLL Configuration>.
The Policy Action Templates snippet looks like this:
<PolicyActions>
<PolicyAction id="" class="" />
</PolicyActions>
3. Append the property configuration statement for computed runtime action. For example, MyComputedRuntimeAction.
<PolicyActions>
<PolicyAction
id="uddi:44e3e2de-064c-432f-b67a-8fbca0fb04d6"
class="com.softwareag.centrasite.bui.
extension.service.MyComputedRuntimeActionParser" />
</PolicyActions>
The input parameters are:
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.