How do I record results in Google Drive form
Mar 07, 2016
Hello,
Firstly - I've found these pages immensely useful. Just wondered if anyone can help please. We don't have an LMS so want to record results in Google Drive. I've searched and found a few examples on here but not matter what I try I can't get this to work. Here is my javascript.
function postContactToGoogle(){
var player=GetPlayer();
var Sname=player.GetVar("name");
var Sscore=player.GetVar("Score");
var Sresult=player.GetVar("result");
$.ajax({
url: "https://docs.google.com/a/suerydercare.org/forms/d/1Rbk0kNaHa9C8qALYAW0DD2QGzXnU06bUC9O4aTTtXz4/formResponse"
data: {"entry.3747607" :Sname,"entry.1268793432":Score, "entry.1674739877":Sresult},
type: "POST",
dataType:"xml",
success: function(data)
{
alert(data);
}
});
return false;
}
What am I doing wrong please? Can anyone help. FYI I've also found the Window.print() doesn't want to work either. Don't know whether its my coding or my platform.
Thanks
15 Replies
Hi, Sarah -- Thanks so much for your question! With respects to the information on How to Share Your E-Learning Course for Free with Google Drive, I wanted to note the following:
UPDATE 1/7/2016: Google is deprecating this feature and it will no longer work after Aug 2016.
And as for your JavaScript needs, I wanted to mention that is not something for which we are able to provide support, so one of the many gurus here in the community will need to assist you further.
And my apologies, Sarah, but I wanted to pass along this document on JS Best Practices in case you'd like to keep it handy. Also, welcome to the community! :)
Hi sorry - not sure you have understood me. I'm not interested in hosting the e-learning on Google drive just recording results there. I've also noted through my searches that your not able to support this question so wasn't expecting staff to, many thanks for confirming this though. So I really do hope one of the gurus are about.
I see, Sarah, and my apologies for misunderstanding! I appreciate the clarification, and yes, hopefully one of our amazing community members can stop in to assist you further. :)
Very interested in this unanswered question. Ahh to be a guru....
I found a fabulous website that help and worked. I'll update shortly
Thank you. Anxious to hear about it!
Sent from my iPhone
Haha! You can be a guru too Warrin :) Sadly, this is out of my wheelhouse of knowledge. Glad that Sarah is popping back in to assist you here.
Hiya,
This is the magic info I found. very important is an add to the index file once published to make it work with java. All in the post. I will add though that I found google drive had changed the way the scripts showed up to get the entry numbers so you may find same with yours.
http://www.tracyparish.ca/2015/08/how-to-send-variables-from-storyline-to-google-docs.html
Good luck!
Thanks for sharing Sarah :)
Hi! I am looking to export data from Articulate to Google forms. I managed so far to get data from entry fields like name, age etc. I want now to learn how can I get data from radio buttons and checkboxes. I created the google form and I tried to put multiple choices e.g. white, black, orange and I tried to find the entry number for each of the options by inspecting but there isn't any. I did, of course, the same fields in Articulate having them in radio buttons initial value false and when selected change to true. Same with checkboxes. Has anybody found a solution on how to collect data from radio buttons and checkboxes?
Ok, I found my solution! I assign the selected answer in a variable eg. colour using a trigger. If white is selected then colour=white, if black is selected then colour=black etc and I send colour to google forms.
Sarah
Link very userfull! Thank you! I use this solution. But it is not work as CD publication. Only as web.
Could you advice anything?
Kostya
Could you explain how you will use it please?
I can't see how it would work on CD as it would not have internet connection so could not reach Google Drive forms
It will be used in 14 computers with internet simultaneously. I can use web version (work perfectly) But comps have different browsers (versions, restriction ets) This is reflected on picture quality and navigation. CD publication standardizes an interface. Can I use CD version for sending data to Google?
Thank you
This discussion is closed. You can start a new discussion or contact Articulate Support.