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.
231
questions
0
votes
0
answers
13
views
Google Workspace ChromeOS Devices link to Hornbill
I am trying to use the Asset Data Import Tool from Hornbill : https://wiki.hornbill.com/index.php?title=Asset_Data_Import_Tool
They have the option to import from Google Workspace. I just need to ...
0
votes
0
answers
19
views
How to remove an extra scope from Google (editor) add-on live project (Prepared in Apps Scripts)
My Google (sheets) editor add-on code has been changed and now my project doesn't use Google drive access now. And I want to remove that scope from my project. The Add-on is live and being used by the ...
1
vote
0
answers
28
views
How to implement input type Password in Google Card Service?
I am creating a form in App Script using Google card service. I want to hide my password in a star format like "*"**. However, I am not able to implement this functionality to hide my ...
0
votes
2
answers
102
views
+200
Make a floating control panel whose size and position can be changed by mouse in Google Sheets add-ons
I would like to make a Google Sheets add-on. Most of the existing Google Sheets add-ons open a sidebar on the right of Google Sheets. But the sidebar is very narrow (i.e., 300px), we cannot change its ...
0
votes
0
answers
6
views
How to deploy app script add-on to Google Workspace Marketplace?
I have coded my App Script add on. now the most complex task it to deploy it to the Google Workspace Marketplace. read the documentation. I want to deploy the google docs add-on for internal use so ...
0
votes
1
answer
32
views
How to reduce size of image in Gmail Addon Using Card Services
I'm developing the Gmail addon through card services. My login screen contains below widgets :
Language Dropdown
Logo
Login Form
I had provided the code for that.
// Create a language dropdown
...
-1
votes
0
answers
22
views
Google Workspace Add-on: The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable
I'm getting the error below in the
Build and deploy the add-on backend
in the Build a Google Workspace Add-on with Node.js and Cloud Run Tutorial
Step #2: ERROR: (gcloud.run.deploy) Revision 'msa-test-...
0
votes
1
answer
95
views
How to open popup on click of button in gmail addon using Card Services?
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 informatio* or ...
0
votes
1
answer
15
views
How to get formInputs in the commonEventObject from gmail add-on in python alternative runtime?
I am trying to develop a gmail add-on, and have successfully used my deployment resource to send requests to my http endpoint. When I click a button in my add-on, I log the contents of the request ...
0
votes
0
answers
60
views
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 ...
0
votes
1
answer
54
views
How to create a manifest appsscript.json file for Google Apps Scrips for creating Gmail Labels
I created an app in Apps Script and conected it to Google Cloud Project under Workspace Marketplace SDK API.
The script is very simple and just create gmail labels when you run it. I added a trigger ...
0
votes
1
answer
59
views
User properties for non Apps Script add-ons
When developing an Workspace add-ons using Apps Script, I can use the PropertiesService and set/get properties (key/value) for each user. Is it possible to access the PropertiesService when using ...
0
votes
1
answer
28
views
Build a Google Workspace Add-on in any coding language that works on mobile
I've built two Google Workspace addons for testing, one in apps script and one using my own backend server returning JSON (per https://developers.google.com/workspace/add-ons/guides/alternate-runtimes)...
0
votes
1
answer
55
views
How to implement File Upload Functionality using Card Services in Gmail Add-on
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 ...
0
votes
0
answers
17
views
Get current google shared drive Id in Google Workspace Add on
I am creating a Google workspace addon integrating with Google shared drive. I am trying to get the current shared drive id in the homePageTrigger run function (not the onItemsSelectedTrigger). The ...
0
votes
0
answers
26
views
Workspace Add On does not appear in sidebar (but does for Test Deploy)
I developed and published a Workspace Add-on for my organization (i.e. non-public) for sheets and docs. My admin has approved it and accounts in my org can install it.
The problem is that the icon ...
0
votes
0
answers
12
views
how to create 8 regular users automated(scripted) from a CSV file in google workspace
Google Workspace user creation
I am having trouble connecting to Google Workspace with my script in order to create users on admin.google.com. Has anyone had success creating users on Google Workspace ...
0
votes
1
answer
24
views
Can't change card header colour with Google Card Service
I'm trying to change the colours of a Google Workspace Add-on. In the manifest, I specify the primary and secondary colours, but when I run the add-on, only the secondary colour is applied.
Here's the ...
0
votes
0
answers
61
views
Deploying Workplace Add Ons (Google Apps Script) programmatically
I have a Gmail Add On built in Apps Script that I’m currently developing. It is unpublished.
To test my changes, I am:
Opening the project on script.google.com
Manually copying and pasting changes ...
0
votes
1
answer
108
views
Google Calendar Workspace Add-on function not invoked
I have followed this guide to get a Calendar add-on up and running. The functions for Gmail are invoked and working correctly, but the Calendar function is not invoked at all - i.e. I see Executions ...
0
votes
0
answers
52
views
How to download whole gmail as a pdf format in appscript gmail addon?
I'm using card services to make a Gmail addon. I want to develop a download feature on button clicks. When the user clicks the Button, I want to download the email as a pdf. I'm not getting any idea ...
0
votes
0
answers
46
views
Alphanumeric and Disable Options in Card Services in Gmail Addon
I want to do validation for max length and alphanumeric for text input in card services. I don't want the user to enter characters more than 1. and I want to add an alphanumeric feature to the text ...
0
votes
0
answers
37
views
Using Google ID Token to Connect to non-Google services from a Google Workspace Add-on
I have an API that I want my Google Workspace Add-on to connect to in an authenticated manner. I would to use the Google ID token as the login credential for the service as the users are already ...
0
votes
0
answers
86
views
Bash file gam: command not found
I'm trying to write a bash file which contains several gam - commands which are used to add google calendars to employee google accounts. Unfortunately gam commands only allow to add one calendar at a ...
0
votes
0
answers
35
views
Costs when developing a Google Add-on for private use?
I'm struggling to understand if it is free to develop and use a Google Workspace Add-on that stays private and unpublished. I created and linked a Google Cloud Project, following the directions in a ...
2
votes
2
answers
229
views
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 ...
0
votes
0
answers
21
views
What is a turn-key approach to enabling a remote service to access a domain's Directory API (Admin SDK) and query a domain's user accounts?
I have a web service that wants to access a customer's Google Workspace's list of users to check their 2FA status. To achieve this, I will use the Directory API under the Admin SDK API. This check ...
0
votes
1
answer
64
views
How to test Google Workspace add-on on mobile (Android/iOS) in Google Sheets app?
I have a simple Google Workspace add-on that I'm building for myself to use with Google Sheets.
It works on desktop. But if open the Sheets app on my Android phone I can't access it.
My question: how ...
0
votes
0
answers
34
views
Creating a Gmail add-on with AppScript to display warning for external recipients
Trying to develop a gmail add-on with AppScript without success
The purpose of my add-on:
After the user clicked on the send button when composing a mail, if the recipient is outside the organization'...
0
votes
0
answers
47
views
Google workspace add on for Google calendar throws 503 error on event meeting launch of authorization url
I am building a Google Workspace add-on for Google Calendar. The add on is showing in my conference dropdown, but when I try to launch it so the user can go to the login page from my website to get ...
2
votes
0
answers
126
views
Google Workspace add-on in Apps Script External/Testing status -- how test users can add it?
I am puzzled about what is the right way to arrange testing collaboration of the Workspace add-on, as there seem to be two different places to share the test access (none of which works for me quite ...
0
votes
1
answer
144
views
Google Workspace Marketplace: Apps with multiple App types configured in Marketplace SDK
I have a google docs addon published on Google workspace marketplace, recently I received an email from google which mentions that my addon is violating below mentioned policy.
I am unable to ...
0
votes
0
answers
25
views
How to set users from web app in gmail add-in?
I developed gmail add in. It show button using apps script and button is open link.
My add-in consists of gmail composeTrigger.
function onGmailComposeTrigger(e) {
let ...
3
votes
1
answer
152
views
The design of widgets has changed
I'm working on apps script gmail add-on. Today the design of addon has suddenly changed. All widgets look different. Sometimes it seems like the styles are not loaded. No mentions about any design ...
0
votes
0
answers
26
views
How to get the current Google Docs document in a Google Workspace Add-on?
I'm creating a new Google Workspace Add-on using the Cards API
My runtime is Node.js. When the user opens my Add-on in Google Docs, the Add-on should know what the current document is.
I'm hoping to ...
0
votes
1
answer
56
views
How can the Google App Script cards be styled?
The following button always displays the text in all caps (SIGN IN).
Is there a way to avoid capitalized text strings using
CardService.newTextButton().setText('Sign in')?
Is there a way to custom-...
0
votes
2
answers
274
views
How to get current message Id in Gmail using AppScript?
So, I was looking around the internet for a code to get the current message Id or just current message but I cannot seem to find it. What I actually want is, when I click on a mail and open it, the ...
1
vote
1
answer
90
views
Multiline Textinputs in Workspace Add Ons only single line when first opening the Add On
I have developed a Google Workspace Add On in Apps Script with a text input. I would like to display it multiline because the value I set to the text input is quite long.
let input_txt = CardService....
1
vote
1
answer
270
views
App-script runtime error "Exceeded maximum execution time" in workspace addon
Problem:
I am getting the error Exceeded maximum execution time after about 45 seconds.
Expected behaviour:
The function should run for 6 Minutes. After that duration I would expect an error.
I ...
0
votes
0
answers
27
views
Google Add-on development - Google App Script - APIs
I'm currently developing a Google Add-on for Gmail and struggling a bit with the APIs.
Does one of you know if there are existing APIs for the following on Gmail?:
Identify an email checkbox ...
0
votes
0
answers
21
views
Workspace addon get current folder ID
I have a Google Workspace Add-on for Google Drive. I would like to get the current folder ID when in Google Drive and no files are selected nor any document is opened. The current folder ID is not ...
0
votes
0
answers
29
views
Display UI from external website in Google Apps editor add on
I am working on an add on for google (specifically docs at this point) to allow users to insert content into their document. Either as text or an image (png). The content would come from my site, ...
2
votes
0
answers
78
views
How to get Google Editor Add-on menus and custom formulas in Google Sheets from a Google Workspace Add-on
This accepted answer says that it's not possible to get custom Google Sheets functions into Google Sheets from a Google Workspace Add-on.
However, I came across a counterexample that proves the above ...
0
votes
0
answers
65
views
Event trigger for changes to Google Workspace
To preface, I am pretty new to using Google Workspace, so I apologize in advance if this is an amateur question.
We're trying to add a Google Workspace integration into our app: we want our users to ...
0
votes
0
answers
59
views
How can I access SpreadsheetApp in a Workspace add on helper function?
I am making a Google Workspace add-on for Sheets, written in Apps Script. The goal is to let users search an index of the tabs in their spreadsheet. When I call SpreadsheetApp.getActiveSpreadsheet()....
2
votes
0
answers
54
views
How to obtain Gmail message identifier in Alternative Runtime?
I am developing GWAO using Java based on the Alternative Runtime. After two sleepless days, I finally set up an Addon to extend the Gmail Compose editor by defining composeTrigger in the deployment ...
0
votes
0
answers
31
views
Conditional onItemsSelectedTrigger for google workspace drive addon depending on file type
I have a google workspace addon that works on drive. I want to add a contextual trigger, onItemsSelectedTriggerthat only adds a new card to the stack if the selected item is a google doc.
I can't ...
1
vote
1
answer
75
views
Google Workspace Add-On on Node.JS + Cloud Run - how to allow another user make test deployment while it's still unpublished
I'm developing Google Workspace Add-On based on Node.JS + Cloud Run (NOT Apps Script!).
I want to let my client install this Add-On while it's still unpublished to see the progress.
It's easily ...
1
vote
1
answer
208
views
Error with Docs.Documents.batchUpdate() but the method throws the error after it completes
I posted recently looking for assistance but ran into a new error that I can't seem to fix.
Exception: Invalid number of arguments provided. Expected 2-3 only
The script is part of a Google Drive ...