Skip to content

Get

Retrieves the content of a template by its name.

$Templates.Get(name: string):( string | "null" )

Parameters

string name
    The name of the template.

Returns

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

Remarks

Template lookup is an exact name match within the current pool.

Example

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