Storyline 3 Trick to Capture Variable Values in Quiz for LMS not Working?
Sep 09, 2018
When I use the Quiz trick to try and capture numeric variables I have in my package, it works for one question but not two.
As I have numerous values to capture I need an option to capture more than one variable.
I followed the steps here:
https://articulate.com/support/article/Storyline-360-How-to-Send-the-Value-of-a-Variable-to-an-LMS
The values I need are numeric so I am using a HOW MANY Survey Q.
The attached simple files shows the issue.
- Slide 1 sets the values of the two variables
- Slide 2 uses the quiz trick to capture MYVAR1 and works
- Slide 3 uses the same quiz trick and just hangs
Anyone know what's going on here and is there a simple solution?
You can see the file as a demo here - first with One How Many Q and then Result, then with two How Many Q's - it hangs for me on the second :(
9 Replies
Hi Kevin,
I couldn't access your link, as I saw a 504 error, but I was able to take a look at your slides. I saw the freezing you mentioned going from slide 2 to slide 3.
I tested again by adding a blank slide after slide 2, and it was still freezing, so it seems there is something wrong with that slide in the project.
I was able to successfully set this up in a new project to confirm the method still works. Can you tell me if your project is stored on your C drive/locally vs. a network/shared drive? The latter is known to cause issues with how a file can behave, ultimately leading to corruption.
Thanks.
It's stored locally and not on a network so I guess we can rule that out
Could you upload the test file you created and I'll check it out to see if
it runs for me orcif i can see any difference
Sure, Kevin.
It's a bit different than yours, but still the same concept and didn't freeze during Preview.
Cool that worked for me thanks. I've replicated it myself and it does work. But then I try and implement in a larger file (which has numerous variables) I get the hang again. I think I'll need to look at send custom variable values to the LMS using Javascipt....
Glad that one worked, Kevin. How many variables are you using in your other file? I noticed with the initial one you shared it was two variables for each to set them, vs. my example where it was one for each. Perhaps whittling it down to less variables would be a good way to start too.
Hi Kevin:
It's a bit of an outside chance, but...
...another detail you may want to test out is the possibility your Storyline 3 source .story file may have gotten content-corrupted during the publishing process or during a previous save.
This was somewhat incidental during use of Storyline 2, so I have not (yet) had much experience with that in Storyline 3 to be able to speak to that extensively.
That said, you might want to try out the standard procedure for testing for this by:
I've tried this trick in the past and have had some minor/limited success with it using SL2, but echoing Ashley's statements, I'm unsure if it will work beyond a couple of variables at most.
Hope this helps.
Sincerely,
-Mark
If you're going to follow Mark's suggestion, I'd look at importing the slides into a new project vs. copying/pasting. That will keep everything as you set up, and prevent the introduction of other odd behavior from copying content.
Hi all - in the end I achieved what I needed to do (capturing a number of custom variables) by using this neat trick - this grabs all my variables and their values and submits them to a Google Sheet stored on Google Drive: https://helpdesk.courseware.nl/hc/en-us/articles/205740482-Articulate-Storyline-Export-to-Google-Drive
I'll hand over this PoC to my LMS experts who can then work out how to populate the LMS record....
Nice, Kevin - thanks for sharing!
This discussion is closed. You can start a new discussion or contact Articulate Support.