google-apps

Google Apps Application APIs: Is there a better way to find correspondance between a Documents List API Document and a Spreadsheets API Spreadsheet?

前提是你 提交于 2019-12-08 19:55:33
There is a task, using the .NET library for the Google Data API , to traverse across Google Drive folders, find required spreadsheets and change data of the selected spreadsheets. Folders traversing is performed using the Google.GData.Documents.FolderQuery and other classes of the Google.GData.Documents namespace. After a correct document is found is necessary to manage it using the Google.GData.Spreadsheets.Spreadsheet class. Now I find a correspondence between the Google.GData.Documents.DocumentEntry class and the Google.GData.Spreadsheets.Spreadsheet class instances by extracting the

Python import gdata Google Apps Engine: Course Builder

拈花ヽ惹草 提交于 2019-12-08 13:34:30
问题 I'm working with Google Course Builder and I'm trying to import the GData library so that I can utilize the provisioning API to add members to google groups as they register for the course. Inside of utils.py of course builder lies the functions for registration. The problem is when I add import gdata.apps.groups.client and then run the server locally, the browser returns an internal server error 500. Obviously, I'm missing a step here, but where do I put the GData folder if not in my site

Google Apps Calendar Resource API v1 (Atom/OAuth 1.0) likely lifespan?

荒凉一梦 提交于 2019-12-08 12:03:23
问题 I work with a Google Apps for Education domain and have been asked to write an application that maintains some Google Calendar resources and permissions thereof. I am aware that Google has deprecated support for OAuth 1.0/1.0a and is moving away from Atom based services to JSON based services. It therefore concerns me that the Google Apps Calendar Resource API is currently old style Atom/OAuth 1.0. I'm loathed to write an application using Atom/OAuth 1.0 if it is likely it will become

Google Spreadsheet Script problem - Error: Service Times Out: Apps Script

蓝咒 提交于 2019-12-08 11:14:38
问题 I've been trying to whip up a quick google script to count rsvps for the invite response spreadsheet for a wedding. The script worked perfectly for a week as new entries were added to the spreadsheet, then suddenly stopped working with the following error message in each cell: Error: Service Times Out: Apps Script The script itself is simple. It queries the relevant column (there are multiple events) and then checks to see whether there is some response spefied by the user - "YES", "NO", or a

Google Script Full Account Access

元气小坏坏 提交于 2019-12-08 10:06:40
问题 So, I am writing a Google Apps Script, but every time I change the script to do something new, it needs to be reauthorized. Is there a way to "pre-authorize" all of these permissions for a script so that you no longer need to be prompted? I know that the highest level of permissions that can be given to an app is "Full account access", so if anyone knows how to give a script that level of permission, I would really appreciate finding out. 回答1: If you really want to get a script authorized for

Passing custom Spreadsheets column to onFormSubmit trigger

烈酒焚心 提交于 2019-12-08 09:12:12
问题 I have a Google Form with two numbers field, so in the Answer destination spreadsheets I have three columns: SUBMIT-DATE, NUM1, NUM2 I add a fourth column TOT, not field in the form, with this formula: ARRAYFORMULA(B2:B+C2:C) So in the fourth column i have a SUM for every row I bound this script to spreadsheet: function onFormSubmit(e){ var subject = "TRY GAS"; var body = e.namedValues['NUM1']+ "+" +e.namedValues['NUM2']+ "=" +e.namedValues[TOT]; MailApp.sendEmail("admin@example.com", subject

Accessing google domain users email data with XOAUTH2

流过昼夜 提交于 2019-12-08 08:58:05
问题 I'm trying to access our students gmail data from our google apps for domains with xoauth2. I've been around the block with this one, googles documentation is very poorly organised, and there is still alot of old docs that don't work any more that you are directed to, so it's been alot of fun. I've basically got the following code to work using googles oauth2client in python using a service account that I created that has domain delegation enabled. from oauth2client.client import

how to programmatically open a new spread sheet from google scripts

三世轮回 提交于 2019-12-08 07:07:15
问题 in setActiveSpreadSheet doc the example is very clear: // The code below will make the spreadsheet with key "1234567890" the active spreadsheet var ss = SpreadsheetApp.openById("1234567890"); SpreadsheetApp.setActiveSpreadsheet(ss); however implementing that inside my google scripts, nothing happens at all (not even an error message).. ideas? update Based on the answers below, it's clear that the above code has no effect on UI. I tried doing this: function goToEstimate(sheetId) { window.open(

Google Apps Application APIs: Is there a better way to find correspondance between a Documents List API Document and a Spreadsheets API Spreadsheet?

二次信任 提交于 2019-12-08 06:30:19
问题 There is a task, using the .NET library for the Google Data API, to traverse across Google Drive folders, find required spreadsheets and change data of the selected spreadsheets. Folders traversing is performed using the Google.GData.Documents.FolderQuery and other classes of the Google.GData.Documents namespace. After a correct document is found is necessary to manage it using the Google.GData.Spreadsheets.Spreadsheet class. Now I find a correspondence between the Google.GData.Documents

Have you used Google's Directory API?

依然范特西╮ 提交于 2019-12-08 06:01:18
问题 I'm trying to use Google Directory API Library for .NET to maintain email addresses for a domain. The latest library is google-admin-directory_v1-rev6-csharp-1.4.0-beta. The best and farthest I've gotten so far is to receive a 403 error (Not Authorized to access this resource/api). Has anyone out there successfully used it? If so, could you share some code, tips, or tricks? 回答1: I have used it and got some success in creating a console-application. At the moment I'm trying to find a way to