Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This class provides methods for operating with templates.

SimpleTemplate(templateName)

This method instantiates a new SimpleTemplate class object.

NameTypeMandatoryDefault Value
templateNameStringNN

Example:

Code Block
languagejs
themeEclipse
titleSimpleTemplate
linenumberstrue
let template = new SimpleTemplate('incident template')



applyTo(SimpleRecord)

This method applies the current template to the given object.

...