1

I have written a simple add-on using google apps script, and "deployed" it as "Add On". But whatever I do, I cannot figure out how to connect that add on to my drive account so I can test it. It simply does not show up in the marketplace, whether I search by name or description (I even tried the deployment id out of desperation).

Could someone please point me in the right direction?

1 Answer 1

-1

If you're wondering why your app hasn't appeared in the marketplace, this might be the reason:

To let any user find and install your add-on, publish it publicly. When you publish your add-on publicly, the Google team reviews your add-on before it’s published live on Google Workspace Marketplace.

On the topic of how to actually test your app.

  1. Go to Deploy > Test Deployments

  2. Click on the Select Type dropdown menu and select Google Workspace Add-on

  3. Configure your deployment to use the latest code

  4. Press Install > Done

Make sure that your onOpen function isn't throwing any errors that could prevent the script from actually launching.

And as always make sure you're following all the steps from the official docs.

If you need any help testing your AppScript feel free to reach out! I've built a handful of projects with AppScript in the past.

Sign up to request clarification or add additional context in comments.

1 Comment

A workspace Add-on should not use onOpen, and more specifically, a Drive Add-on doesn't have onOpen trigger. This kind of trigger should be only used with Editors Add-ons.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question