Questions tagged [google-workspace-add-ons]

Use for questions about Google Workspace Add-ons. Use together with the runtime being used. Do NOT use for editor addons: use [add-on] instead.

Use for questions about Google Workspace Add-ons. Use together with the runtime being used. Do NOT use for editor addons: use [add-on] instead.

NOTE: By default Google Apps Script is used to build Google Workspace Add-ons but you might sign-up to become a beta tester of the alternative runtimes

Official Resources:

Related tags:

226 questions
5
votes
2 answers

Should separate projects be used for different OAuth use cases?

In Google Cloud, I use the OAuth Consent Screen for a "Sign In With Google" on a website. I'm now looking to build a Google Workspace Add-on which requires additional scopes (gmail, calendar access). Should this be added to the existing OAuth…
d-_-b
  • 21,536
  • 40
  • 150
  • 256
5
votes
0 answers

Multi Selection Dropdown using CardService

I am working on Drive Add-on, and got stuck at implementing Multi Selection Dropdown using Card Services in Google App Script. Tried to implement the text box input with Suggestion parameters but once a keyword is selected, suggestion does not…
4
votes
1 answer

Google Workspace Add-on for Calendar Conference Solution with OAuth2 integration fails on redirect with CORS

I have built a google workspace addon for calendar conference solution using app script and oauth2 library. My oauth client code is: return ( OAuth2.createService("OAuthApp") // Set the endpoint URLs. …
4
votes
1 answer

How to add Google Workspace Marketplace Add-on to Application Launcher?

I want to add my Google Workspace Marketplace Add-On to app launcher but it is only appearing in the sidebar. I have gone through the support documents but have not found anything in this regard. How do I make it appear on the application launcher…
4
votes
2 answers

How to style a Google Workspace Marketplace Addon?

I have checked the documentation of Google Workspace Marketplace add-ons and I have not been able to find out how to change the styles of its cards and components (e.g. Header, Footer, Buttons, Paddings, Margins, Fonts, etc.). I just want to know if…
3
votes
2 answers

How do you run function in Google Workspace Addon when Google Spreadsheet is opened?

I have some trouble understanding this. In Editor Addons it is easy to run a function for example to create custom menu items by using onOpen trigger. But I cannot figure out how I would achieve the same result with Google Workspace addons. There…
3
votes
2 answers

Google Workspace - Create Space - Google Apps Script

Upon a Google Form being submitted, I want to cause a 'trigger' that creates a 'space' in google workspace. I cannot find any documentation within GAS (Google Apps Script) that documents Google Workspaces. Source:…
3
votes
1 answer

Setting OAuth scopes for Google Sheets add-on correctly

I developed a Google Sheets addon (sidebar), and now trying to put it to the Google Workspace Marketplace. I'm a little lost with the OAuth scopes needed to be set as part of the user consent screen and/or app configuration screen (and/or other…
3
votes
2 answers

Is it at all possible to use the current message access token (or equivalent) for Gmail Add-ons with the Gmail API?

Background: Google Workspace Add-ons for Gmail allow access the currently-open email in the API on contextualTrigger with the scope: https://www.googleapis.com/auth/gmail.addons.current.message.readonly An access token must be passed using…
Rafa Guillermo
  • 14,474
  • 3
  • 18
  • 54
3
votes
2 answers

Update Google Calendar UI after changing visability setting via Workspace Add-On

I have a very basic Google Workspace Add-on that uses the CalendarApp class to toggle the visabilty of a calendar’s events when a button is pressed, using the setSelected() method The visabilty toggling works, but the change in only reflected in the…
3
votes
1 answer

Create two textBoxes/Dropdowns side by side Google App Script [Gmail Add-on]

Can anyone please suggest how to add two Widgets/InputTextBoxes side by side in a Google Apps Script [Gmail Add-on] ? Sample Code: var section = CardService.newCardSection(); section.addWidget( CardService.newTextInput() …
Naveen
  • 677
  • 1
  • 11
  • 27
2
votes
1 answer

How to open popup on click of button in gmail addon using Card Services?

community, I'm developing a Gmail Add-on using Card Services and trying to implement a popup that displays when a specific event occurs within the add-on. I want to provide users with additional information or options in this popup. I've looked…
2
votes
0 answers

How to update Widgets or Card without rewriting the code in Gmail Addon using card Services

I am developing a Gmail addon by using the Card service which is provided by App Script. My requirement is that there are two dropdowns and when I select the first dropdown option the second dropdown options are updated. The second dropdown options…
2
votes
1 answer

How to implement File Upload Functionality using Card Services in Gmail Add-on

Stack Overflow community, I'm currently working on developing a Gmail add-on using Card Services and I'm facing some challenges regarding implementing a file upload functionality within the add-on. I would greatly appreciate your insights and…
2
votes
2 answers

Google app script publish require CASA verification after initial OAuth verification. Is there any way to avoid it?

I have completed initial OAuth verification process for the scopes I have been using in the app. (see scopes detail below). Now Google verification team is requesting CASA verification process as you can see in email screenshot attached too. So…
1
2 3
15 16