getDefaultSubject()

Overview

public string function getDefaultSubject(
      required string template
)

Returns the default subject for a given template, derived from its 'defaultSubject' viewlet.

Arguments

NameTypeRequiredDescription
templatestringYesID of the template whose default subject you wish to get