Questions tagged [gsuite-addons]

Do NOT use alone. Use with [google-apps-script] and a appropriate product tag(eg:[gmail]). Use for questions about G Suite Add-ons, including those that extend Gmail, Google Calendar, or Drive. Do not use for questions about Editor and older Gmail Add-ons.

Use

For questions about G Suite Add-ons - custom extensions of G Suite productivity applications.

G Suite Add-ons are a newer class of addons replacing older gmail add-ons. They use a special CardService service to build user interfaces, no custom HTML / JavaScript is allowed.

Always use together with , where applicable.

Use with related product tags:

for Gmail
for Google Calendar
for Google Drive

Don't use

For questions about:

  1. older versions of Gmail Add-ons, use .
  2. Editor (Sheets, Docs, Slides and Forms) Add-ons, use .

Useful resources

  1. G Suite Add-ons official guide
  2. Issue tracker for the component
  3. Add-ons best practices
75 questions
1
vote
1 answer

Can't serve HTML on the Google Apps Script callback page in a GMail add-on

I am working on a GMail add-on that connects to a third-party service through OAuth2. To obtain the authorization code the following redirect URI is used: https://script.google.com/macros/d/[SCRIPT_ID]/usercallback . Here's a snippet that triggers…
1
vote
2 answers

Using CardService with HtmlService

Google Add-Ons has pivoted towards using CardService widgets. I am trying to create a drop-down menu but the ListBox class is deprecated. The docs forwarded me to HTML services but there's no documentation anywhere about how to use them in the…
Ezra Bell
  • 11
  • 1
  • 2
0
votes
1 answer

How to delete User Property Services when User deletes G-Suite Add-on

I'm developing a G-Suite add-on that is storing user auth tokens for an external API within User Property Services as Google recommends. I'm planning to implement the OAuth2 Service as well for publication purposes. My assumption would be that when…
0
votes
0 answers

How do I resolve Calendar Add-on Error in GSuite Apps Script?

We have launched UnMeet Calendar Add-on on GSuite Marketplace SDK. The code was reviewed and approved by GSM Reviews team and OAuth team. It has been tested multiple times by our team as well. However, some users have complained about an error when…
0
votes
0 answers

Migrating from Chrome store to g suite marketplace

My app got bumped from the Chrome store and it looks like it needs to be moved to the g suite marketplace. I started the configuration process and right away at the top it says "your account does not belong to the same domain as this cloud project…
Zonus
  • 2,313
  • 2
  • 26
  • 48
0
votes
1 answer

Gsuite Calendar AddOn onEventUpdated trigger Exception We're sorry, a server error occurred. Please wait a bit and try again

Building a gsuite calendar conferencing addon and trying to create an onEventUpdate trigger using following snippet to sync event data back tp conferencing system var trigger = ScriptApp.newTrigger('syncEvents') .forUserCalendar(calendarId) …
Miguel Clark
  • 161
  • 1
  • 3
0
votes
1 answer

Gmail add-on disappears

I have a Gmail add-on that usses the following in its appsscript.json file: { "timeZone": "GMT", "dependencies": { "enabledAdvancedServices": [{ "userSymbol": "Gmail", "serviceId": "gmail", "version": "v1" }] }, …
csm10495
  • 569
  • 6
  • 12
0
votes
3 answers

Can developers of gsuite addons view the data in your sheets / docs?

Suppose we install a gsuite addon, we may see something like: Suppose we have a google sheet/doc containing some plain text (a pretty standard use), equations, etc; e.g. it may contain: Here's something top secret: my_secret_123_abcxyz?! Are there…
stevec
  • 41,291
  • 27
  • 223
  • 311
0
votes
1 answer

Running Google Docs Add On Drive permissions

I have tried to create my first google docs add-on. When I had run the script within a google doc, it worked just fine. However, when I am publishing the add-on and then installed it, it does not work. The error message is : Exception: We're…
Johno
  • 1
0
votes
1 answer

Unable to upload screenshots to G Suite Marketplace

I tried to upload a screenshot to publish a private Spreadsheet add-on. However, it did not complete with a "Not saved" message. "Not saved" message image The screenshot field is a required and I cannot publish the add-on. Steps to reproduce: Click…
Tsukasa
  • 3
  • 2
0
votes
0 answers

Using authorization token from G Suite add-on for use on my api service

Is it possible to authorize a user in the G Suite Add-on, and then use its token on my API service to work with Sheets Client Libraries. I have a Client ID and Client Secret from Google OAuth for my web application, and Google authorization is also…
0
votes
1 answer

How can I obtain an OAuth refresh token for a G Suite Add-on running on Apps Script?

Does anyone know how to obtain a refresh token for a G Suite Add on, considering that the authorization flow to obtain the user consent was handled by Apps Script? I know how to obtain the access token with the method ScriptApp.getOAuthToken() But…
0
votes
0 answers

How to get app usage report in G Suite Marketplace?

I want to know how many users have installed my add-on this month, which is published on G Suite Marketplace. In G Suite Marketplace SDK there is a usage tab, but i can't find any filter or time period selection option. I aslo tried the download…
New Coder
  • 117
  • 2
  • 12
0
votes
1 answer

Can I define a simple trigger from a standalone script?

Specifically, I want to use the onSelectionChange(e) event to show a sidebar depending on what's in the selected cell. The problem is: the project I am working on is a standalone script. So I want to know if there is a way to use the onOpen event…
0
votes
1 answer

Exception: Unexpected error while getting the method or property getContactGroups on object ContactsApp

I am making a gmail addon in which i am trying to get the user's contact groups (labels) using the code: var groups = ContactsApp.getContactGroups(); I already have added required scope : https://www.google.com/m8/feeds in manifest file…