CentraSite 10.3 | CentraSite Developer's Guide | Custom Policy Actions | Custom Policy Actions | Adding Parameter Template to Action Template
 
Adding Parameter Template to Action Template
To complete the action template, you must define its input parameters.
*To add a parameter template to the action template
1. In CentraSite Control, go to Policies > Action Templates.
2. Select the action template for which you want to define parameter templates.
3. In the Edit Action Template Detail page, select the Parameter Templates profile.
4. Click Add Parameter Template.
5. Define the first parameter as follows:
In this field...
Do the following...
Name
Type 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 values from which to select 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. 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.
6. If you want to define additional parameters, click Add Parameter Template and repeat the previous step.
7. Click Save and then Close.
The parameter templates that you added appear under the Parameter Templates profile.