Questions tagged [google-workspace-add-ons]
Use for questions about Google Workspace Add-ons. Use together with the runtime being used.
125
questions
-1
votes
0
answers
9
views
App doesn’t meet the publishing review criteria on the following
I have got following eMail from workspace:
Please make sure your App meets the following general requirements before attempting to publish:
- Completeness. The App must be fully functional. It can't ...
0
votes
1
answer
7
views
Is it possible to set the color on a Card header for a Google Workspace Add On?
I'd like to update the color of the Card header of a Google Workspace Add On I'm developing. Is this possible?
Google has a sample project here: https://developers.google.com/apps-script/add-ons/cats-...
0
votes
1
answer
56
views
Is it safe to put in secrets inside Google App Script code?
I'm creating a Google Workspace Add-On and need to make some requests using OAuth. They provide a guide here explaining how to do so. In the sample code, it's suggested that the OAuth client secret be ...
0
votes
1
answer
28
views
How do I detect if someone has removed my Google Workspace Add-On?
I'm creating a public Google Workspace Add On and I'd like to detect when the add-on has been removed.
I don't see a way to do this in the documentation.
Is this possible?
1
vote
1
answer
21
views
Can we update values in date picker field based on value in another date picker field in a Cardservice for Google Calendar Add-on?
I wish to populate the value of booking end date based on the value entered by user in the booking start date.
Currently, I am using below codes -
/*----------------------------------------------------...
1
vote
0
answers
36
views
Google Workspace Addon incompatibility between different Workspace instances?
I am developing a small Google Workspace Add on for a customer.
The way I am doing this is by developing it on a different Google Workspace and after testing, I copy it to the customer Google ...
0
votes
0
answers
13
views
Sheet Add On Menu is not showing after publish it in google workspace marketplace
I create a sheet add on. Its simple:
Create a menu with one option that allow users create other menu in their current worksheet. Menu options are created with data of the same sheet.
Each menú ...
0
votes
1
answer
61
views
Republish a Google Workspace Marketplace app
We have a Google Sheets add-on from the Google Workspace Marketplace. There is a hate review, we report that, but the marketplace did anything. So we are thinking of re-publishing the add-on. So my ...
0
votes
0
answers
19
views
What is the simplest way to distribute Google Workspace Add-ons within an organization?
I often have to create small extensions for Google Workspace Apps ( Docs, Slides, Gmail etc) which I want to give some users access to. Sometimes only a selected number of users needs them, often only ...
0
votes
0
answers
37
views
Unable to Export Drive data of a suspended Google Workspace User [closed]
I am trying to export the Drive data of a suspended user in my Google Workspace.
I am making use of the Drive API for the same.
For some of the data items, I am receiving an error: 403 Forbidden.
The ...
-1
votes
1
answer
27
views
Is it possible to whitelist URL including all its suffixes in Gmail extension's manifest?
I'm developing a Google Workspace extension for Gmail which makes requests to backend API and fetches images from different CDN servers. Therefore it is not possible to include every possible URL in ...
0
votes
0
answers
24
views
Google docs workspace addon API - key presses, text change
Is there a way to receive an event when a text is changed or poll for that event from a workspace addon? I understand that all elements are json received from backend. Not sure how I can receive text ...
0
votes
1
answer
34
views
How can I change the `AUTHORIZE ACCESS` button in a Google Apps Script based Google Workspace Add-On
I am develloping a Google Apps Script based Workspace add-on.
I am trying to figure out how to edit the AUTHORIZE ACCESS button to match Google's Sign-In Branding Guidelines.
I've searched high and ...
1
vote
0
answers
13
views
Add custom functions to Sheets from Workspace addon
I have a Google Sheets add-on that provides some custom functions along with other functionality exposed in the sidebar. This is working fine. I also have some other miscellaneous scripts for Docs, ...
1
vote
0
answers
47
views
Apps Script Add-on Card Service Refresh Issue
I created add-ons with the card service.
All I wanted is to run the function refresh() to clear data in Spreadsheet and add-on should refresh once I press Logout Button.
I use the below code to try ...
0
votes
0
answers
13
views
How do I distribute a Drive app that contains only Drive UI "Open with"?
I'm writing a workspace app, about the Dirve app.
My assumption is that plug-ins only appear in "Open with," not in the right-hand sidebar. Therefore, I only configured the Drive API and ...
0
votes
0
answers
42
views
Get current card name with onItemsSelectedTrigger
I'm currently working on a DRIVE workspace Add-on.
I would like to know How can I get the currently displayed card when onItemsSelectedTrigger is triggered.
The card that I want to return depends on ...
0
votes
0
answers
15
views
NewUpdateDraftActionResponseBuilder crashes the Gmail IOS app
On the current Gmail iPhone app, calling the newUpdateDraftActionResponseBuilder crashes the app. No errors get logged and those crashed calls never appear in the 'Executions' tab in the App Script ...
0
votes
1
answer
114
views
How to solve the error: Sorry, unable to open the file at this time. Please check the address and try again. (Gmail Add-on)
I have a Gmail Add-on deployed on marketplace, it was working fine but now when a user have multiple accounts logged into gmail and tries to install my add-on. It shows the error
Sorry, unable to open ...
0
votes
1
answer
40
views
How do I accept the terms and conditions of the Google Workspace Marketplace?
I wrote an Apps Script add-on for spreadsheets and created a test deployment. When I try installing the add-on in a spreadsheet, I got this message:
The developer of this add-on has not accepted the ...
0
votes
0
answers
18
views
Add a widget on click action [duplicate]
I have a TextInput (with a display issue, btw) where user can enter an address and then I check with Google Maps what is the formatted address.
I'd like to display this formatted address just below ...
0
votes
1
answer
28
views
Label of multiline text input broken?
I have a TextInput that I've set to multiline. It has a long title and this is rendered as a broken label (wrong position).
Am I setting things incorrectly ?
function onDefaultHomePageOpen(e) {
let ...
0
votes
1
answer
31
views
Need to show a card widget and after some delay automatically show another card widget regarding google workspace add-on creation
I need to show homeCard() and after I need to show settingsCard() automatically. Since I coudn't find a right method in app-script documentation I need some help for do this task.
Here I provided the ...
0
votes
1
answer
49
views
Debug/Fix "Exceeded maximum execution time" error Google Addon
I've created my first Google Workspace Addon which I have deployed to the associated domain successfully although still working on it due to this error.
Without errors, functionally it's (was) working ...
2
votes
1
answer
65
views
Adding starting splashing Animation to Google workspace Add -on
I'm creating a google workspace add-on to a organization.For styling purpose I want to add starting splash animation very similler to the Google map, keep and contact Add-on have.Can I get an idea ...
0
votes
1
answer
39
views
How to get Operating System version and name in Google App Script?
I am currently developing a GMail addon and it requires some Operating System related information. The kind of information we get when we run 'Navigator.UserAgent'
I can determine some/partial data ...
0
votes
1
answer
43
views
How to navigate, or go to a folder in Google Drive with a Drive Add-On
I am pretty sure this is not possible, but it seems worthwhile asking.
I want to use a Google Workspace Drive Add-On to help the user navigate, or go to a folder in their Drive. A folder that is ...
0
votes
1
answer
41
views
How to send emails using rich textbox Ui with Google AppScript and Html file?
Please help me to understand how to make this happen in google AppScript and Html files?
Is there any predefined class available to use the
Compose Email menu in Gmail Web app.
0
votes
0
answers
17
views
How to use map to insert key-value pair in google appScript in this unique case? [duplicate]
Here is the my sample code:
const feildName = new Map();
var numberOfCurlyWords = arrayOfAllCurlyBracesWords.length;
for(var i = 0; i< numberOfCurlyWords;i++){
for(var j = 0; j<cols;j++...
0
votes
0
answers
11
views
Running clean up function on Google Workspace Add-on uninstall?
I'm working on a Google Workspace Add-on that functions within Gmail. It includes creating a filter and a label.
Is there a way to run a cleanup function if a user uninstalls it so that I can delete ...
0
votes
0
answers
31
views
Add-on triggers duplicate and stack a card that navigates back (🡠) to itself
Building a Workspace Add-on for Google Drive, that lists files.
To my knowledge, this required two triggers.
homepageTrigger - when no files are selected
onItemsSelectedTrigger - handling selected ...
0
votes
0
answers
15
views
Google addon onInstall event using alternate runtimes [duplicate]
I'm building a Gmail addon using alternate runtime method (here you can know more about this method) and I would like to know if there is a way to receive a webhook/event when someone install/...
0
votes
1
answer
30
views
Not getting the "Submit for verification" button for OAuth verification in GCP
I have created a Gmail/Calendar add-on in Google Apps Script and I want to publish it to the marketplace.
I am following the steps at https://developers.google.com/workspace/marketplace/configure-...
0
votes
0
answers
17
views
GMail add-ons provided by Google have UX components that are missing from AppScript CardService
I've been building a GMail add-on using Google Workspace CardService and found that UX elements available for GMail Tasks, Contacts, Calendar are completely different from what's available for third-...
0
votes
0
answers
14
views
Gmail Addin - urlFetchWhitelist and HTTP proxy
I'm working on a Gmail addin, and I'm stuck with the parameter urlFetchWhitelist.
The user enter an URL and the email content will be posted in HTTP on this URL (this is the over simplified behavior ...
0
votes
0
answers
10
views
Width for sidebars
Is there a way you can remove the max-width of 300 x 300 px of column width? I was trying to add a Google Maps interactive to my Google sheet, and it doesn't show all of it, just over half of it.
1
vote
2
answers
62
views
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 ...
0
votes
2
answers
81
views
fix deleted oauth credential used in google apps script
I accidentally deleted the OAuth credential used in my Google Apps Script Addon. Now I see a deleted_client error when I try to test and authorize my addon.
is there any way to fix this?
I don't see a ...
0
votes
1
answer
47
views
Auto complete for Google docs
I'm developing an addon for Google docs, when users type a specific token e.g: {{, a list of suggestions will display to users and filter the list as users type more characters. The list of ...
0
votes
1
answer
116
views
What is the easiest way to clean up and publish a useful Google sheet/script I've written?
I have written a Google Sheet with script to pull economic time-series data from FRED, Federal Reserve Economic Data maintained by the Federal Reserve Bank of St. Louis, into Google Sheets. I would ...
1
vote
1
answer
40
views
Running aGoogle Workspace Add - ons over local HTTP endpoint
I tried to develop a workspace Add-On in a different language and I am completely stuck with this issue. it seems that my add-on does not call my local server endpoint. I get the following error ...
0
votes
2
answers
189
views
Error response 400 "Request contains an invalid argument" after the standard Slides manipulation
Recently my scripts started to fail after the first run. In other words: 1st run succeeds, the next fail, and the error 400 "Request contains an invalid argument" can be seen in the Dev ...
2
votes
1
answer
65
views
Google Workspace Add-On Hide or Edit App Bar Card
I developed an add-on for google workspace.
I followed the official guide for sidebar development.
Searching in the developers.google.com portal and in the Google Figma UI StyleGuide provided for the ...
0
votes
0
answers
45
views
Error in gmail addon using apps script stating "The value returned from Apps Script has a type that cannot be used by the add-ons platform."
I am using apps scipt to create a gmail add on such that it will redirect to a link on clicking a button.
I am receiving the following error:
The value returned from Apps Script has a type that cannot ...
1
vote
0
answers
63
views
Can I hide Google Drive files/folders for specific emails or IPs that are open to general public (or anyone with link)?
Is there any way to use the drive api to hide certain files or folders for specific emails of IP addresses? I'm trying to build additional flexibility beyond the user access controls that google ...
1
vote
1
answer
92
views
Why doesn't addOns.common.universalActions not need the URL to be in the urlFetchWhitelist list for it to work in a Google Workspace Add-on manifest
Google's documentation says that all URLs must be explicitly listed in urlFetchWhitelist.
However, I have a URL in universalActions and it works, even though I don't have the URL in urlFetchWhitelist. ...
0
votes
1
answer
18
views
"Updated Add-On" Pop up when installing editor add-on
Recently when installing my editor add-on it pops up with an “Updated Add-on” alert. This then prompts the user to review and authorize the app a second time, which then is blocked. If the user goes ...
0
votes
0
answers
47
views
Google Workspace Add-ons Quickstart Cats stopped working on iOS gmail
I've started to receive reports that the add-on we have been using for a while stopped working on iOS mobile. I was able to confirm this and started to dig into the issues. I've been able to reproduce ...
0
votes
0
answers
32
views
Return ActionResponseBuilder from function when called from mobile Gmail Compose
I recently started to receive some reports from users that this stopped working recently, but only on mobile. I've been able to reproduce it with the demo cat application by changing the ...
0
votes
0
answers
24
views
How can we access Google Work Space Add on in delegated gmail accounts
I have delegated a gmail account (Ac-1) to another gmail account(Ac-2). I have a Google Workspace Add-on created in Ac-1. My question is: how can we access that workspace Add-on while accessing the ...