Saving results from quiz to a txt file
Feb 01, 2015
From what I have read, I don't think Articulate supports this, but I am looking for assistance from users. My company needs to have 800 people take a training and have a way to track the results. We do not have an LMS, but I must publish as an LMS so it can be saved on SharePoint (this is where learners will access the training).
Is there a way to get my results for each learner into 1 txt file (that I save where the story.html file is located)? I've searched the discussions out there and have tried several different things, but nothing has worked for me. I think some of my problem is that I need to create variables that call the default results variables (results.scorepercent...etc).
Any help is greatly appreciated on this!!
8 Replies
Hi Jenn,
this is a "multidimsional" Problem ;-)
a) First of all you need some program-code outside articulate, which will write the lerner's result to a text-file. A combination of e.g. a php-script outside your course and some AJAX JavaScript inside your Storyline course would do. I'm using this technique for some statistics because I do not always have got an LMS.
If you want to use php or another web-language, your Server has to support this.
b) Second you have to get the values of the result, etc. inside your course.
To find a solution you must tell a bit more about the SharePoint server... does it support any web-Scripting languages, e.g. php?
How is your course published in SharePoint? One big zip-file or many small files?
Hello Jan,
I'm not sure if your solution will work here, but I have to ask.
I've used Storyline to build a SCORM package which is hosted on a server. I'm trying to find a method for learners to send questions from within Storyline via my server's mail program. To do that, I need to be able to transfer the questions as text files from Storyline to the server. I could build a php script to do that, but how do you go about having Storyline JS communicate with a php file on the server.
I'm not sure about doing a text file. Usually it is hard to write to the hard drive unless you use something like server side scripting (PHP) like Jan mentioned. The reason is security. Web pages are not allowed to write to users hard drives.
I'm not an expert on sharepoint, but I don't think it allows for server-side scripts.
You can, however, send email from your Storyline project, although it will go through the users email program. Of course, that means that the user could edit the email before sending. To send without going through the users email program means you are back to server side scripting.
Hi Dave,
Yes I considered Storyline's "send email to" trigger. The problem is that it doesn't work on every browser.
Nevertheless, thank you for the reply!!
Hi Lucio,
The "send to email" function is going to rely on the user having an email client installed on their system, which as more people move to a web based email client, the trigger isn't able to connect to that element.
Hi Ashley,
True. Plus more and more browsers are dropping the capability of launching local applications due to security risks.
Which means that I have to develop a way to achieve my objective with a combination of php and js on the server and js triggers in Storyline.
Thank you for replying!!
Keep us posted on what you come up with if you can Lucio - I suspect there are a few other community members in the same boat as you!
Will do!!
This discussion is closed. You can start a new discussion or contact Articulate Support.