getTemplateParameter method: ServiceAPI class

Syntax

getTemplateParameter(parameter_name)

Description

Use this method to retrieve template value based on parameter defined on the application service.

Parameters

Parameter Description

parameter_name

Specifies the name of the input parameter (as a string).

Returns

Any.

Values can be the following:

  • Boolean

  • Date

  • Decimal

  • Integer

  • String

  • Time

  • Array of Any

Example

&state = %This.ServiceAPI.getTemplateParameter("instrument");