CentraSite Documentation : CentraSite Developer’s Guide : Developing Custom Actions : Adding Custom Actions Using the CentraSite UI : Adding a Parameter Template to the Action Template
Adding a Parameter Template to the Action Template
To complete the action template, you must define its input parameters.
To add a parameter template to the action template
1. If you are beginning this procedure immediately after completing Adding an Action Template to a Custom Action Category, skip to step 4.
2. In CentraSite Control, go to Policies > Action Templates.
3. Select the action template for which you want to define parameter templates.
4. In the Edit Action Template Detail page, select the Parameter Templates profile.
5. Click the Add Parameter Template button.
6. Define the first parameter as follows:
In this field...
Do the following...
Name
Enter a name for the new parameter template.
Type
Select a data type.
Default Value
If you want to specify a default value, type a value in this field.
If the selected data type is String, Number or URL, you can specify one or multiple default values. You can specify multiple possible default data values from which to choose as follows:
a. Select the Edit icon to the right of the Default Value field.
b. In the Add Default Values dialog box, type a value and click Add. Repeat for as many values as you need.
c. Click OK.
d. Then, in the Default Value field select from the drop-down list the value you want to use as the default value.
Note:  
If you would rather fill in required values when this template is used in a policy, leave this field blank.
Array
Select this check box if you want the data type as an array.
Required
Select this check box if you want the parameter template to be mandatory.
7. If you need to define additional parameters, click the Add Parameter Template button again and repeat the previous step.
8. Click Save and then Close.
The parameter templates that you added appear under the Parameter Templates profile.
Copyright © Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback