saveLayoutConfig()

Overview

public boolean function saveLayoutConfig(
      required string layout       
    , required struct config       
    ,          string emailTemplate = ""
    ,          string blueprint     = ""
    ,          string customLayout  = ""
)

Saves the given layout configuration in the database.

Arguments

NameTypeRequiredDescription
layoutstringYesID of the layout whose configuration you want to save
configstructYesStruct of configuration data to save
emailTemplatestringNo (default="")Optional ID of a specific email template whose layout configuration you wish to save
blueprintstringNo (default="")Optional ID of a specific email blueprint whose layout configuration you wish to save
customLayoutstringNo (default="")Optional reference of custom config whose layout configuration you wish to save