setLocationTemplateParameter method: ServiceAPI class

Syntax

setLocationTemplateParameter(template_name,template_type,template_collection)

Description

Use this method to set the variable value defined on the base template defined on the application service.

Parameters

Parameter Description

template_name

Specifies the name of the template parameter (as a String).

template_type

Specifies the type of the template parameter (as Any).

Values can be the following:

  • Boolean

  • Date

  • Decimal

  • Integer

  • String

  • Time

  • Array of Any

template_collection

Specifies whether the template parameter is a collection or not. True if the template parameter is a collection; false otherwise.

Returns

None.

Example

%This.ServiceAPI.setLocationTemplateParameter("instrument", "drums", False);
%This.ServiceAPI.setLocationTemplateParameter("timein", %Time, False);