Overview
...
string $Templates.Subject(name: string)
...
string $Templates.Subject(name: string, node: Xml)
Arguments
string name
Name of template
Xml node
Example
Code Block | ||
---|---|---|
| ||
// if template subject is set to "Purchase order {{Number}}"
var result = $Templates.Subject('Purchase Order', $Xml.SelectSingle('Order'))
// result contains the "Purchase Order 12345" |