I'm working with HTML service.
I create a form submit in HTML service and I want to save the data into google spreadSheet.
Someone can help me?
Thank you.
This can be accomplished in a couple of ways, 1) server-side using the Zend Gdata framework and 2) client side using a spreadsheet app script.
Client Side
Mashe Hawksey wrote a post in his blog here about how to do this purely on the client side using a basic HTML form that posts the data to a google apps macro script and targets a hidden iframe to get around the cross-domain issue.
Here is the example form from the above tutorial.
Here is the spreadsheet of the data being collected into.
I started off using the above method, which does work, but didn't have all the functionalities I need to authenticate users.
Server Side
Using the Zend GData Framework it has much wider scope of functions, but does require a little bit of PHP knowledge.
This is what I now use and it has been a life saver with creating Google apps and using user provisioning with our Google domain.
I hope the above helps.
Related
I am trying to retrieve the source code of a website/project which was made for me on fiverr. I've been made the owner of the project.
I followed the advice on previous links (below) to get the source code:
Is it possible to get the source code of a Google Firebase (or Google Cloud Platform) project?
Is it possible to retrieve Firebase Cloud Function source code?
Get code from firebase console which I deployed earlier
For some reason my google cloud functions list does not show “source” as stated in previous answers picure with source missing in functions list.
Is there another way to access the source code from google cloud?
Appreciated
J
So its been over a year and a bit more experience with Firebase. The correct answer is you cannot technically access the source code because the source code contains the html,css and javascript files which are deployed to the Firebase server and are back-end (server side). What you view on the website is only the front-end client side code and is not the full picture.
Whenever you get a website developed for you, you should always have the developer pass on all the html,css and javascript codes so that you can always deploy it when needed.
I want to integrate marketo with my web app. In such way that the marketo leads or data automatically sync to app at regular interval.
My web application is in php.
I am new to marketo, Please help.
Only way this is done is by connecting to Marketo Via the Marketo REST or SOAP API, documentation to get you started can be found here:
http://developers.marketo.com/getting-started/
There are several integration platforms available today that let you connect various web apps and automate tasks through a simple interface. These cloud integration platforms use API of the web applications in the backend. All you need to do is connect the apps together and configure the settings. You can connect your own app or on-prem system to web services like Marketo, Salesforce, etc.
Here's a short blog post that shows how apps can be integrated.
https://www.built.io/blog/favorite-services-coupled-together
Let me know if this was helpful.
If you are just wanting to sync data back and forth a webhook might do it for you. That is what I currently use to sync data from Marketo to a PHP app and back to Marketo. Lots of addons to Marketo actually work this way.
Webhooks are also a lot easier/quicker to set up on the Marketo end and then on the PHP side you basically just have to handle the POST.
Marketo Webhook Docs: http://developers.marketo.com/webhooks/
I have created a Google App Engine website using the tutorials and have uploaded it to AAA.appspot.com. But I would like to create a www.AAA.com website and pull data out of the App Engine. In Google App Engine settings you can add www.AAA.com to access Google App Engine API. What I need is a tool or tutorial recommendation to get me started on developing www.AAA.com. I'm very new to website development but am an experience programmer. So I have the Java servlet code setup but I cannot get the front end to connect to it.
In my html form can I do something like <form action="http://AAA.appspot.com/GET_Request_URL" method="get">? What about post requests?
One classic way to connect an HTML front-end to an App Engine back-end is by using the Google JavaScript client library https://developers.google.com/api-client-library/javascript/start/start-js
Romin Irani has nice tutorials on this method, see https://rominirani.com/google-cloud-endpoints-tutorial-part-1-b571ad6c7cd2#.sbsqvfu3n and in particular Part 4 https://rominirani.com/google-cloud-endpoints-tutorial-part-4-37ea3aac7948#.ivyo2i4pb
Yes you can do that. But I prefer doing it in below way, using reference paths (or) app handler names rather than full URLs
<form action="/mainpage" method="post">
You can use the app handlers only if the code is in GAE. Otherwise, as I said you can do the way you are currently doing by providing complete URLs. It will work for both POST and GET as long as URL has POST and GET methods implemented.
I've looked all over the google and stackoverflow for the answer but I cant seem to find it. I'm trying to get the output from an azure experiment to an app. I've made the app using ibuildapp and google forms. How can I use the inputs from the google form, pass it to azure and get an output to display on the app?
In order to access your model from your app you want to create a rest service. See here.
http://azure.microsoft.com/en-us/documentation/articles/machine-learning-publish-a-machine-learning-web-service/
Then you will consume this rest serivce from your app using a standard http client. Sample code is available here.
http://azure.microsoft.com/en-us/documentation/articles/machine-learning-consume-web-services/
I'm trying to work out the best way to display a Google Spreadsheet in the members section of a website.
Although the info in the spreadsheet isn't hugely sensitive, I'm not keen on publishing it and embedding it using an iFrame, so am trying to find a way to embed the spreadsheet while still keeping it private.
I've tried using the Spreadsheets API (via the PHP Zend library) with some success, but it seems to fall apart if a lot of the cells are empty. As I'd also ideally like to keep any cell styling, does anyone know of a way to embed the spreadsheet via an iFrame or similar without publishing it?
Any PHP/Javascript solutions most welcome!
Well if it's a member's area - you can use the GDATA AUTH method (part of the php Zend Library) to ensure authentication - even if it is private (you don't need to publicly publish your spreadsheet) - I'm sure you already know this.
If you just want to pull the data - the documents list query and then by use of tables and add CSS to it to retain styling can help.
google: google spreadsheet api IBM - and there's a tutorial that shows a few examples. Hope that helps.