This class provides methods for operating with templates.
SimpleTemplate(templateName)
This method instantiates a new SimpleTemplate class object.
Name | Type | Mandatory | Default Value |
---|---|---|---|
templateName | String | N | N |
Example:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
let template = new SimpleTemplate('incident template') |
applyTo(SimpleRecord)
This method applies the current template to the given object.
...