Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deploy and use Google Sheets add-on with Google Apps Script

I'm working on a Google Sheets add-on in Google Apps Script and want to know how I can deploy it and install it into a Google Sheets spreadsheet whilst it is still in development (i.e. not ready to publish in the Store).

At the moment I'm forced to create my add-on embedded within an existing spreadsheet with no option of using it in another.

Has anyone achieved this yet?

like image 462
Tony Day Avatar asked Dec 04 '25 05:12

Tony Day


2 Answers

Go to Publish>Test as Add On and Configure a New Test. Testing your script will run the code on a doc of your choosing.

You should be able to take it from there. If you're still having trouble, read on.

To setup the test, you'll need to specify which Document, Form, or Spreadsheet you want to it to run on, and save the test. Then you can run the test (from the Test as Add On popup, by clicking the Test button after you've saved your test setup) and it will execute your code on that document/spreadsheet/form by opening a new tab with that doc and executing your code.

To share the script with others (beyond making them use this same process for themselves by copy/pasting your script in their own Script Editor) you'll need to publish it to the Web Store; to do that you need to do all this stuff.

Hope that helps!

like image 55
jeffmjack Avatar answered Dec 06 '25 04:12

jeffmjack


Yes its posible but first you need to be approved by google to publish. Once you can publish you specify to publish only to a google group and not public (this is standard chrome store functionality)

like image 31
Zig Mandel Avatar answered Dec 06 '25 02:12

Zig Mandel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!