CentraSite Documentation : CentraSite Developer's Guide : Developing Custom Actions : Adding Custom Actions Using the CentraSite UI : Adding an Action Template to a Custom Action Category
Adding an Action Template to a Custom Action Category
Perform these steps to add an action template to a custom action category and save it to CentraSite:
To add an action template to a custom action category
1. In CentraSite Control, go to Policies > Action Templates.
2. Click Add Action Template.
3. If a custom action category does not yet exist, the Add Action Category dialog box is displayed, prompting you to create a custom action category. After you create a custom action category, the Add Action Template page is displayed and is described in the next step.
4. In the Add Action Template page, do the following:
In this field...
Do the following...
Category
Select the action category for which you want to add the action template.
Name
Enter a name for the new action template. Follow these guidelines:
*An action template name must be unique.
*An action template name can contain any character (including spaces).
Description
Optional. Type a description for the new action template. This description appears when the user displays a list of action templates in the Policy Information panel.
Type
No action is necessary.
By default, CentraSite sets the action type to Programmatic for a design-time or change-time action and Axiomatic for a run-time action.
Implementation
For a programmatic action (a design-time or change-time action), specify whether the action’s rule is a Groovy script or a Java class.
Uploaded File
For a programmatic action, click the Browse button and upload the action's rule file.
*For a Java rule type, upload its Java program .zip file.
*For a Groovy rule type, upload its .groovy script.
For procedures on creating action rules, see Creating Action Rules. For procedures on uploading action rules, see Uploading Action Rules to Action Templates.
Note:  
Alternatively, you can download the rules used by the system action templates, and modify them for use with the custom action template. For procedures, see Downloading Rules from System Action Templates.
5. In the Scope panel, do the following:
In this field...
Specify...
Object Types
Select the type of objects to which this action template applies.
Event Types
Select the type of events to which this action template applies.
Note:  
Not all event types are supported by all objects. For more information, see Supported Object Events.
6. Click Save.
Upon saving the action template, CentraSite displays the Edit Action Template Detail page. You will use this page's Parameter Templates profile to add parameter templates for this action.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback