I would like to manage spreadsheets (downloaded by the client via the API) through the Google engine. I created a test spreadsheet expanded with functions in a .gs script (which works fine if I add them through an online editor), but I donβt know how to apply such a .gs script to each downloaded spreadsheet automatically (possibly via the API).
In addition, I do not want to share this .gs file by publishing it as an extension (due to security policies).
Updated: I also tried to copy the existing table with working gs script and overwrite the data of my spreadsheets via the API (instead of loading a new one) - it overwrite the data successfully, but, unfortunately, lost the gs script. Details are described in a separate question (bounty): Google script user application does not work after copying a spreadsheet with google java client
source
share