google-apps-script

Container-bound Script getting permission errors trying to run functions with google.script.run from sidebar

不羁岁月 提交于 2020-12-30 03:33:05
问题 I try to implement a sidebar on my spreadsheet to get user input for my scripts to use. I haven't been able to get it to successfully call any server side functions. I put together a simple script from the google documentation and several stackoverflow questions that I read through, but I keep getting an error. It is able to print to the console, but it errors out trying to call the logText() function with google.script.run . Script File: function onOpen() { SpreadsheetApp.getUi() .createMenu

Debugging client side code from Google Apps Script

若如初见. 提交于 2020-12-29 10:17:19
问题 I have issues with my client-side code (who doesn't, with any code they write in any language, at one point or another in the development process?) Problem is that I'm writing this code in Google Apps Script, and can't find the js code I am trying to debug/examine for errors. I remember being able to enter a function name, and then click on the returned code to go straight to the code file, and the function in it, but that, for some reason, isn't working here. I try it and this is what I get

Debugging client side code from Google Apps Script

谁说我不能喝 提交于 2020-12-29 10:16:08
问题 I have issues with my client-side code (who doesn't, with any code they write in any language, at one point or another in the development process?) Problem is that I'm writing this code in Google Apps Script, and can't find the js code I am trying to debug/examine for errors. I remember being able to enter a function name, and then click on the returned code to go straight to the code file, and the function in it, but that, for some reason, isn't working here. I try it and this is what I get

Debugging client side code from Google Apps Script

五迷三道 提交于 2020-12-29 10:12:35
问题 I have issues with my client-side code (who doesn't, with any code they write in any language, at one point or another in the development process?) Problem is that I'm writing this code in Google Apps Script, and can't find the js code I am trying to debug/examine for errors. I remember being able to enter a function name, and then click on the returned code to go straight to the code file, and the function in it, but that, for some reason, isn't working here. I try it and this is what I get

Debugging client side code from Google Apps Script

依然范特西╮ 提交于 2020-12-29 10:11:39
问题 I have issues with my client-side code (who doesn't, with any code they write in any language, at one point or another in the development process?) Problem is that I'm writing this code in Google Apps Script, and can't find the js code I am trying to debug/examine for errors. I remember being able to enter a function name, and then click on the returned code to go straight to the code file, and the function in it, but that, for some reason, isn't working here. I try it and this is what I get

Google Script - Form - live update for a text field

拜拜、爱过 提交于 2020-12-27 07:15:32
问题 My client has a huge list of contacts. I created a form with a scrolling list, in order to select a contact. The issue is that the scrolling list is too long. Is there a way (and if so, how?) for my client to start typing the first letters of a contact name, so the 'field area' (or other) fills in automatically the correspondant contact name? Thank you in advance for your help. Kind regards, 回答1: You can load the select with this javascript: function updateSelect(vA) { var select = document

Google Script - Form - live update for a text field

时光总嘲笑我的痴心妄想 提交于 2020-12-27 07:14:01
问题 My client has a huge list of contacts. I created a form with a scrolling list, in order to select a contact. The issue is that the scrolling list is too long. Is there a way (and if so, how?) for my client to start typing the first letters of a contact name, so the 'field area' (or other) fills in automatically the correspondant contact name? Thank you in advance for your help. Kind regards, 回答1: You can load the select with this javascript: function updateSelect(vA) { var select = document

Google Script - Form - live update for a text field

情到浓时终转凉″ 提交于 2020-12-27 07:13:52
问题 My client has a huge list of contacts. I created a form with a scrolling list, in order to select a contact. The issue is that the scrolling list is too long. Is there a way (and if so, how?) for my client to start typing the first letters of a contact name, so the 'field area' (or other) fills in automatically the correspondant contact name? Thank you in advance for your help. Kind regards, 回答1: You can load the select with this javascript: function updateSelect(vA) { var select = document

Google Script - Form - live update for a text field

核能气质少年 提交于 2020-12-27 07:13:50
问题 My client has a huge list of contacts. I created a form with a scrolling list, in order to select a contact. The issue is that the scrolling list is too long. Is there a way (and if so, how?) for my client to start typing the first letters of a contact name, so the 'field area' (or other) fills in automatically the correspondant contact name? Thank you in advance for your help. Kind regards, 回答1: You can load the select with this javascript: function updateSelect(vA) { var select = document

Google app script,gmail addon remove user properties while uninstall addon [duplicate]

我们两清 提交于 2020-12-27 06:32:44
问题 This question already has answers here : Handling persistent user-specific values in Gmail Add-ons (2 answers) Closed 3 months ago . I have create simple gmail addon using google script,in that i have struggle here, i have used UserProperties,the problem is, i have store some user level script values.while uninstall addon,we need remove UserProperties Thanks in advance 回答1: I do not think there is an uninstall event. According to the docs it is not listed in the Add-on lifecycle or the list