Apps Developer Blog

Information for Google Apps Developers

Using Fusion Tables with Apps Script

September 30, 2011
Share on Google+ Share on Twitter Share on Facebook
Google
Labels: Apps Script , Fusion Tables

4 comments :

Phil said...

Hi,

First of all thanks for your gem, I also need this kind of flexible tool.
I have a few questions and problems, if you can help ...

How did you created your form?
In sites or using Script GUI?

I have trouble calling the script from sites, I get:
https://sites.google.com says
"unable to insert objet due to invalid url"

but the url is tested and working.

November 14, 2011 at 4:10 AM
Phil said...

Sorry for my previous post, I finally understood how to edit scripts in sites.

BTW, now I get:
Authorization is required to perform that action.

Not sure if I need to change something in the script apart from table ID.

November 14, 2011 at 4:31 AM
Phil said...

Hi, it's Phil again.
Ok, now that's turning weird:

Your script published as service is working in spreadsheet.

The same script in sites throws:
Syntax error: Unexpected error: line: ? (line 260)

I changed credentials within the scripts to make it work (so my previous comment can be deleted).

November 14, 2011 at 4:41 AM
OBK said...

Hi Ferris,

Thanks for this great piece of code.

I need some additional help though...

I have used this code to develop an application. Eveything was going well and I was testing each new functionality until, at one moment, it simply stopped accessing the database.
To eliminate all other sources, I re-installed your original code. I get a message "Authorization is required to perform that action.". It happens at the instruction "UrlFetchApp.fetch(url, STATICVARS.fetchArgs).getContentText()".
As the exact same code was working initially, I suspect there is some kind of limit on the number of calls that are made to the API, but I was not able to find any documentation on that.

Can you help?

February 24, 2012 at 4:20 AM

Post a Comment

  

Labels


  • .NET 3
  • #io15 1
  • Administrative APIs 26
  • Admin SDK 4
  • AdSense 1
  • analytics 4
  • Android 5
  • App Engine 5
  • Apps Script 98
  • Auth 1
  • billing 4
  • Charts 1
  • Chrome OS 1
  • classroom 1
  • Cloud Storage API 1
  • Community 1
  • Developers 5
  • Directory API 1
  • Drive 2
  • Drive SDK 38
  • execution API 1
  • Firebase 1
  • Freemium 1
  • Fusion Tables 2
  • Gadgets 5
  • Gmail APIs 16
  • Google+ 3
  • Google APIs 3
  • Google Apps 3
  • Google Apps Directory API 1
  • Google Apps Marketplace 3
  • Google Apps Script 1
  • Google Calendar API 20
  • Google Contacts API 3
  • Google Data Protocol 7
  • google docs 3
  • Google Docs API 20
  • Google Drive 2
  • Google Forms 4
  • Google I/O 3
  • googlenew 1
  • Google Prediction API 3
  • Google Profiles API 2
  • Google sheets 2
  • Google Sites API 4
  • Google Spreadsheets API 4
  • Google Talk 1
  • Google Tasks API 6
  • Groups 2
  • Guest Post 42
  • ISVs 2
  • java 1
  • JavaScript 3
  • marketing 3
  • Marketplace 47
  • Marketplace ISV Guest 21
  • Migration 1
  • Mobile 1
  • mpstaffpick 1
  • oauth 11
  • OpenID 7
  • PHP 1
  • python 4
  • realtime API 1
  • Resellers 2
  • Ruby 1
  • SaaS 1
  • security 1
  • Staff Picks 2
  • webinar 2


Archive


  •     2015
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
  •     2014
    • Dec
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Mar
    • Feb
    • Jan
  •     2013
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2012
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2011
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb
    • Jan
  •     2010
    • Dec
    • Nov
    • Oct
    • Sep
    • Aug
    • Jul
    • Jun
    • May
    • Apr
    • Mar
    • Feb

Feed

Company-wide

  • Official Google Blog
  • Public Policy Blog
  • Student Blog

Products

  • Android Blog
  • Chrome Blog
  • Lat Long Blog

Developers

  • Developers Blog
  • Ads Developer Blog
  • Android Developers Blog
  • Google
  • Privacy
  • Terms