This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* DataFromSpreadsheet: Read in Spreadsheet info for a Calculated Datasource in AppMaker. Use a spreadsheet to define a datasource. | |
* Useful for data modeling, simple Apps. | |
* Does not support paging; sheets with large number of rows will see performance penalties | |
* @param {object} params | |
* @param {string} params.spreadsheetId The ID of the source spreadsheet | |
* @param {string} params.sheetName The name of the source sheet | |
* @param {string} params.datasource The name of the target datasource | |
* @param {number} params.numHeaders How many rows are headers (default = 1) | |
* @param {number} params.headerRow Which row contains the name of the field (default=params.numHeaders-1) |
NewerOlder