enableLogging = false; // set to true for debug logging dumpLogFileName = "pre-save-form-hook.html"; if ( enableLogging ) application.ADF.utils.logAppend(msg=attributes, label='attributes', logfile=dumpLogFileName);