Function descriptions Function “lmbShowTemplateModal()” Estimated reading: 1 minute function lmbShowTemplateModal(gtabid, id, type, firstCall = false, appendData = {}) Parameter gtabid table ID as integer id datarecord ID as integer type type of the template as stringe.g.: ‘mail’,’report’ firstCall boolean: is this function call the first time this function is calledtrue: Show the template selectionfalse: Directly show the loaded template appendData type == ‘report’: currently unused type == ‘mail’: JavaScript object with the following keys recognized:receiver: E-mail address of the recipient as a stringreceivers: Array of the e-mail addresses of all recipients (each e-mail a separate string)subject: Subject of the e-mail as a stringNo key must be present, but both ‘receiver’ and ‘receivers’ must not occur. Return value Nothing is returned Example lmbShowTemplateModal(1,1,"mail",true,{receiver:"no-reply@limbas.com",subject:"Business inquiry"}); Tagged:mailreport