exportResponsesToExcel()
Overview
public any function exportResponsesToExcel(
required string formId
, boolean writeToFile = false
, any logger
, any progress
)
Exports the responses to the given form to an excel spreadsheet. Returns a workbook object (see Working with spreadsheets).
Arguments
Name | Type | Required | Description |
---|---|---|---|
formId | string | Yes | ID of the form you wish to produce spreadsheet for |
writeToFile | boolean | No (default=false) | Whether or not to write output to file. If true, output is written to file and the file path is returned. If false, workbook object is returned. |
logger | any | No | Logger for background task export logging |
progress | any | No | Progress reporter object for background task progress reporting |