Template
Extends:
src/mapping/core.js~Service → Template
User API for templates
Users use this API to evaluate pre-configured templates.
Static Member Summary
Static Public Members | ||
public static get |
Get default deployment id associated to Template service |
Method Summary
Public Methods | ||
public |
evaluate(objectPattern: {"languageTag": *, "name": *, "requestId": *, "data": *}): * Evaluates a template |
Static Public Members
Public Methods
public evaluate(objectPattern: {"languageTag": *, "name": *, "requestId": *, "data": *}): * source
Evaluates a template
Evaluates the given template and returns the result as a string. Templates are parsed the first time they are evaluated. Evaluation may fail early due to a parsing error.
Params:
Name | Type | Attribute | Description |
objectPattern | {"languageTag": *, "name": *, "requestId": *, "data": *} |
|
Return:
* |