Overview
Returns the subject of template if found, otherwise null.string $Templates.Subject(name: string, node: Xml)
Arguments
string name
Name of template
Xml node
Input xml node. Optional. If not specified, $Xml is used.
Example
// if template subject is set to "Purchase order {{Number}}" var result = $Templates.Subject('Purchase Order', $Xml.SelectSingle('Order')) // result contains the "Purchase Order 12345"