Skip to content

Get

Retrieves the content of a template by its name.

1
$Templates.Get(name: string):string

Parameters

string name
    The name of the template.

Returns

The template content as a string if found; otherwise, null.

Remarks

Example

1
var template = $Templates.Get('Purchase Order');