This file contains 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
/** | |
* onOpen adds Export JSON option in spreadsheet tool bar | |
* exportJSON prepares json from sheet, save it in same folder as of spreadsheet on google drive and display it in modal with download link | |
* turn on Drive API on script editor, Resources -> Advanced Google Services -> Drive API | |
*/ | |
function onOpen() { | |
var sheet = SpreadsheetApp.getActiveSpreadsheet(); | |
var entries = [{ | |
name : "Run", |