views:

8

answers:

0

Hi,

Google docs (for GAFYD) has a fantastic approach of allowing you to write a apps script and publish it as a web service. The Use case they are touting is to return a UI which would do things to the document or other documents in that Google account.

I was wondering a couple of things: 1. Now when you take a published url for a script, and try and load it from the browser, if your logged in, you get the file, which is fine, if not you get redirected to the login page. However I was wondering if its possible to call that URL from the java Gdata client hosted on Google AppEngine, or some other simpler way to run the published Service?

  1. If I ran it and the script itself took over 10 seconds (AppEngine restricted time) would it fail? Is there anyway to make it more asynchronous?

  2. Are the Events asynchronous? So if I update a cell via a gdata call on gae, and use the scripts OnEdit handler to do some work would the original request to write return before the OnEdit handler would finished

Looking forward to your responses

Mark