setTemplateParameter method: ServiceAPI class
This topic discusses the setTemplateParameter method for the ServiceAPI class.
Syntax
setTemplateParameter(parameter_name,anyValue,boolean)Description
Use this method to populate the template value based on the parameter defined, the input value, and if the parameter is defined as a collection. This method is valid for Consumer Application Services only.
Parameters
| Parameter | Description |
|---|---|
|
parameter_name |
Specifies the name of the template parameter. |
|
anyValue |
Specifies the type of the template parameter (as Any). Values can be the following:
|
Returns
None.
Example
%This.ServiceAPI.setTemplateParameter("pilot", &Name, False);