Home > OS >  How do I build a Google Add On with a menu item that pops up in all documents?
How do I build a Google Add On with a menu item that pops up in all documents?

Time:12-03

I'm new to Google Apps Script, so forgive me if I use the wrong terminology. I'm trying to build a Google Apps Add-On but I'm having trouble piecing things together. Ideally I'd like to add a right-click menu to all documents when someone installs my Add-On. Similarly to how LucidChart adds a top level menu to all docs.

enter image description here

Once in the old editor there's "Run" menu:

enter image description here

that has a "Test as add-on" function:

enter image description here

That opens a dialog that allows you to open another document with the add-on enter image description here

Before finding this out, I enabled showing the script manifest, added the "addOn" entry, and deployed as a Test Add On in the new editor. I'm not sure if that had an effect.

  • Related