getLayoutConfig()

Overview

public struct function getLayoutConfig(
      required string  layout       
    ,          string  emailTemplate = ""
    ,          string  blueprint     = ""
    ,          string  customLayout  = ""
    ,          boolean merged        = false
)

Returns the saved config for an email layout and optional email template combination.

Arguments

NameTypeRequiredDescription
layoutstringYesID of the layout whose configuration you wish to get
emailTemplatestringNo (default="")Optional ID of specific email template whose layout configuration you wish to get
blueprintstringNo (default="")Optional ID of specific email blueprint whose layout configuration you wish to get
customLayoutstringNo (default="")Optional reference of custom config whose layout configuration you wish to get
mergedbooleanNo (default=false)If true, and layout, emailTemplate and blueprint supplied, the method will return a combined set of settings (global, blueprint + template specific)