google-apps

Google Apps Script: AuthMode gets confused w/ multiple logged in users

て烟熏妆下的殇ゞ 提交于 2020-04-07 06:16:30
问题 I'm bumping into a weird problem in Google Apps Script, working on a Slides add-on. When I run the add-on in an incognito window with just one user logged in (call it User B), everything works fine. When I run the add-on with multiple users logged in (call it Users A and B in the same Chrome tab), it seems like Apps Script gets confused around the authorization. When I try to use the add-on as User B (as evidenced by the profile showing up in the upper right corner), all functionality of the

Google Apps Script: AuthMode gets confused w/ multiple logged in users

不羁的心 提交于 2020-04-07 06:14:31
问题 I'm bumping into a weird problem in Google Apps Script, working on a Slides add-on. When I run the add-on in an incognito window with just one user logged in (call it User B), everything works fine. When I run the add-on with multiple users logged in (call it Users A and B in the same Chrome tab), it seems like Apps Script gets confused around the authorization. When I try to use the add-on as User B (as evidenced by the profile showing up in the upper right corner), all functionality of the

Email quota for app scripts G suite users

ε祈祈猫儿з 提交于 2020-03-24 00:07:18
问题 This is my simple app script I am using in google forms: function onFormSubmit(event) { var x = MailApp.getRemainingDailyQuota(); } I just signed up for a free trial for G suite. On this link it is mentioned that G Suite users get 1500 emails per day. https://developers.google.com/apps-script/guides/services/quotas But when I run the above script in debug mode and check the value of x get it as 100(Which is the limit for normal account) Is it that trial users have this limit? Or is it

Run a Gmail Google Apps Script daily at 8:00, 12:30, 17:00

ぐ巨炮叔叔 提交于 2020-03-23 08:57:27
问题 I need to run a Google Apps script three times a day: at 8:00, 12:30, 17:00. How to do this? I have already looked at Triggers , and more specifically Time driven : Hour timer, but Every hour , Every 2 hours , Every 4 hours are not adapted here Day timer, but then 8am to 9am is not very precise, I would prefer something more precise, and also 12:30 is not possible Specific time, but then YYYY-MM-DD HH:MM is not adapted to run it daily From calendar triggers does not seem adapted either. 回答1:

Google Email Group not receiving specific email

孤者浪人 提交于 2020-02-25 13:34:52
问题 We are currently using a webapp that generates outbound emails, but are experiencing a few issues. When the system sends an email directly to a Gmail user (eg. john.smith@domain.com) it is received fine. If the email is sent to a Google apps group (eg. finance@domain.com) it is never received by any of the group members. The " finance@domain.com " propogates to approximately 6 users. I have reviewed the Spam folder for a few of them and the email still isn't there either. If the Google engine

Google Email Group not receiving specific email

天涯浪子 提交于 2020-02-25 13:34:09
问题 We are currently using a webapp that generates outbound emails, but are experiencing a few issues. When the system sends an email directly to a Gmail user (eg. john.smith@domain.com) it is received fine. If the email is sent to a Google apps group (eg. finance@domain.com) it is never received by any of the group members. The " finance@domain.com " propogates to approximately 6 users. I have reviewed the Spam folder for a few of them and the email still isn't there either. If the Google engine

What kind of apps are G-Suite marketplace apps?

会有一股神秘感。 提交于 2020-02-15 22:15:34
问题 The chrome web store support 3 different app types: extensions, hosted apps, and packaged apps. Extensions are for apps that have minimal UI and primarily extend the functionality of Chrome. Packaged apps can run in a tab, can access the Chrome API, and run in the background. Hosted apps run in a tab and require an internet connection to load the page from the host. But what kind of apps does the G-Suite marketplace support? I noticed that apps installed in the marketplace should up

Moving filtered values (copy and paste values) using google sheet script while ignoring the column heading / title

谁都会走 提交于 2020-02-07 02:01:30
问题 I would like to copy and paste VALUES only from source sheet to target sheet using google scripts. I have filter applied in the column so I am only looking to copy the cells that are present / filtered (not all values). In the example that I have built, I have: Source sheet (copy values from): Sheet1 Target sheet (paste values to): Sheet2 Sheet1 screenshot: Process / Steps: When I select any particular color in "Fav_color" in column A..let's say "yellow". Now, Members are filtered accordingly

OpenById Error when generate Google Doc from Google Form Submission

半世苍凉 提交于 2020-01-24 01:08:49
问题 I am currently working in a Google Education domain and I would like to automatically generate a Google Doc via an onSubmit trigger from a Google Form. I have a template file that I would like to copy and then replace fields (e.g., {{name}}) with responses from the form. Upon submission, the template Google doc is successfully copied and renamed, but I cannot open the doc to replace the text fields. var templateFile = DriveApp.getFileById(id); var targetFolder = DriveApp.getFolderById(id);

Does Google Apps Email Migration API support 2 legged oAuth?

为君一笑 提交于 2020-01-23 17:39:46
问题 I am trying to develop winform application using Google Apps Email migration API. I also want to use 2 legged oAuth. I have successfully used 2 legged oAuth with contacts data API. To do this i have set the API scope "http(s)://www.google.com/m8/feeds/" on "Manage client API access" page. (http://www.google.com/support/a/bin/answer.py?hl=en&answer=162106) For Email Migration Api I set the scope as "https://apps-apis.google.com/a/feeds/migration". But I am getting "401: UnAuthorized access"