Google site spreadsheet - google-apps-script

Can we write our front end design and use the google spreadsheet for the back-end for a website?
Thank You

Google Apps Script might also be a good option for you. You can host your code on the Google servers (all written in JavaScript) with easy access to all the spreadsheet and docs APIs. You can see a lot of tutorials on the site.
Another even simpler option might be Google Forms - if you are just trying to gather some data and record it in the spreadsheet.

You have probably already found an answer or a workaround, but here is an example from Google.
https://developers.google.com/apps-script/storing_data_spreadsheets

Related

Programmatically updating linked tables and charts in a Google Doc with Apps Script

I have a template Google Doc with linked tables and charts that I need to programmatically update so that I can export it as PDF and send by email. I haven't found a way to do that neither with apps script nor google docs api. And I really want to avoid updating the template with static content.
I know this question has been asked before, but never has a positive solution been found.
If this is still not possible, maybe there is a work around? Like a chrome extension you can trigger that can simulate manual update? Or whatever. Doesn't have to be elegant or anything, just has to work somehow.
Thanks a lot for your help.

Can I have captcha in google apps script?

I'm deploying an aplicattion in Google Apps Script, and I need the implementation of a captcha on it, how can I include captcha in Google App Script?
Know it's an old question, but had the same issue recently.
In short, Yes, and you can add reCaptcha.
See the readme and sample files and then adapt to your needs.
Code.gs has the basics you need to only have to use javascript as oppose to php for responses.
Yes, you can.
Here is a tutorial I posted today on my website.
reCAPCHA with Google Apps Script
The tricky thing is the domain name when you register for a Website to use reCAPTCHA. Since Apps Script webapps are hosted in an iFrame, you need to use domain of iFrame. If you do an analysis of Apps Script Webapp, you will find that all the apps have an iFrame on a temporary domain like xsdsdfjsdfks.googleusercontent.com. So you need to resgister domain googleusercontent.com in order to get a site-key and secret-key pair.

How would I use the Google Docs Research tool in my App Script

I want to use the Research tool in Google Docs as apart of my app script, is there a way to call it in my script?
As far as I can tell from the Google App Scripts documentation, this is not possible. You might want to submit a feature request to Google to add this functionality (new issue button is on the left of the linked page, it's hard to see).

google script webbot / screen scraper

I'm trying to put together a webbot/scraper using google script.
Here is a book teaching how to do it but it is in PHP.
http://www.amazon.com/Webbots-Spiders-Screen-Scrapers-Developing/dp/1593273975/ref=pd_sim_b_3
Now, I know you can use PHP and link it into google spreadsheets. But i don't want to do that. I want everything to be in google script. Even running PHP in google script is ok. I just want to keep everything in the cloud.
Does anybody know the best way to approach this? Which libraries best to use? etc.
Thanks.
You should look at the UrlFetch Services provided in Apps Script. There are numerous questions already here about using this service, so you should be able to find many relevant examples.

Scripting Google documents (not spreadsheets) with Google Apps Script

So I know that it's possible to create scripts for use on spreadsheets using Google Apps Script, but is there support for using created scripts on documents? I know that the API provides services for creating and editing documents, though they bear the experimental tag, but I can't seem to find a way to create and install a script on a document.
And when I say document services, I refer to the following link: https://developers.google.com/apps-script/service_document
Update: you can do this now. Just in case someone stumbles on this answer. To clarify the above answer, too: you can create scripts that are attached to documents or standalone scripts. Attached scripts can be published as add-ons, but are always associated with a document (doc, sheet, or form). Standalone scripts can be published as web apps.
You can't find it because you cannot do it. Scripts can indeed manipulate documents using Document services (as you referred to) but the script itself should be linked to a spreadsheet or a Google site. Linked is probably not the best word since the apps script can be published to work as a standalone web application - in this case the link to the spreadsheet is used only during the development of your application.
I hope this makes things clear enough.