Forum Discussion
Passing Storyline Scores to LMS
Hi,
I am creating eLearning courses using Storyline and sending them to the LMS using Scorm 1.2. All went well until the client asked me if it was possible to get the actual user score for the Quiz into the LMS.
I have set the passing score at 70% and the client is okay to just get the actual passing score into the LMS for reporting. I was told that you have to execute a javascript but I will be glad if there was an easier solution.
Thanks in advance,
Kind Regards,
Parm
- LaurelThomas-abCommunity Member
I've also tried this option using a question slide with a NumericEntry text entry field to equal my variable Score, then submit the Numeric interaction to the results slide. In testing it on SCORM Cloud, I still can't get it to work. I've been over and over other posts here and here about using JavaScript, but that hasn't worked yet, either. Would love some help!
Hi Laurel!
Are you looking to send the value of a variable to your LMS? If so, this is the tutorial you need!
And since you're sending a numerical value, you'll want to use a How Many survey question instead of a Short Answer survey question.
- LaurelThomas-abCommunity Member
Hi, Alyssa. Thanks for the direction. I’ve changed my survey question to a How Many, and I still have the same result: I can get my variable to equal the NumericEntry data field (which also worked with the other survey type), but I don’t get the final Results.ScorePercent% to show (also as before). Any other suggestions?
Thanks,
Laurel
Hi Laurel,
Would you be able to share the .story file so that we could take a look?
It also looks like your email signature came through when you replied via email. You can remove that if needed by clicking ‘Edit’ beneath your response. Here’s a quick Peek video if you need help.
- LaurelThomas-abCommunity Member
Hi, Leslie. I have attached the file I’m working on. What is not showing is on the Results slide.
Thanks for any help you can provide.
LaurelEdited: I thought I was responding directly to Support via email and not the thread! My bad.
- WendyFarmerSuper Hero
Hi Laurel
when you reply via email the attachments don't show here in the forum. You need to click the View button not Reply in the email and then use the grey add attachment button at the bottom of the post.
- LaurelThomas-abCommunity Member
Thanks to everyone who is asking. I thought I was replying via email directly to Support -- didn't realize it was coming to this thread. I have attached my course. As I said, the set variable to a numeric entry is working, but no the reporting of that number to the results score.
- WendyFarmerSuper Hero
Hi Laurel
is it this score that isn't registering on the result slide? It has a default value of 100, so any triggers you have that change that figure will be added to the 100 - is that correct?
I don't see that variable referenced on the result slide or any trigger relating to it.
Sorry, maybe I misunderstand the issue.
- LaurelThomas-abCommunity Member
I want to set the results score equal to the variable Score. (It starts at 100% and will go down if the learner selects the wrong answers.) It won't ADD, I want it to be the same. I've tried setting the variable equal to a How Many data entry field, and that works. It's the next step - getting the numeric entry to be the results score - that is not working.
Hi Laurel,
The variables %Results.ScorePoints% or %Results.ScorePercent% can't be adjusted with triggers or other variables, as they're created automatically based on the quiz within Storyline and the scores added to each question.
The method Alyssa suggested earlier was to pass a variable value to your LMS, but that variable won't reflect the "Score" calculated by Storyline or used in your LMS.
- LesliBaarCommunity Member
I've been struggling with something similar to Laurel. I have a course where the score starts with 100 and for each question the user gets wrong, they get negative points.
I created a variable titled total points. Then I created a variable for each question that deducts the points from the total points for each wrong answer.
Once the score dips below 80, the user sees the results screen.
On my results screen, I have my 'total points' variable.
I've set up a Scorm Cloud account to test it more easily than uploading to our LMS. The last time I tested it, the Success says Passed, even though I failed it. Under Score it says Unknown.
How do I get the LMS to recognize whether the user passed or failed, and what the score is?
I've attached a scaled down version of my course.
- LesliBaarCommunity Member
The suggestions posted here did not work for me. Maybe it's because of updates to Storyline since the suggestions were made. (This thread is several years old).
I did figure out a fix, and I'm posting incase it can help someone.I added a GRADED question rather than a SURVEY question. I added it to the beginning and set the score for the correct answer to 100. I created a trigger to auto populate the score as discussed here and I also hid the page with the triggers as discussed here - but since it's graded, I had to add the triggers to the Correct feedback layer as well. When it runs, the screen flashes, so I added a white rectangle to go over the entire slide to hide the content. In the attached sample, I made it semi-transparent so you can see what I did.
For each of the questions, I scored the incorrect answer with negative points and correct answers with 0 points.
Prior to realizing that my course would not report my scores to the LMS correctly, I had created variable (TotalScore) to show a score at the top of the page that decreased with each incorrect answer. For each question I had a variable that subtracted from the Total Score. I kept those variable, but they possibly could have been done with some built in triggers - not sure.
I displayed the Total Score variable on the results slide in addition to the percentages shown by default on the results slide.
- RenGomezStaff
Hi Lesli,
Thanks so much for popping back in here and sharing how you found a fix! I'm sure this will be helpful for other community members that come across this issue!
- LesliBaarCommunity Member
Thanks Ren. It would be nice if developers could allow for users to manually set the starting score to avoid such a work around. Seems people have struggled with this for several years.
How big of a code change would that be?
Hi Guy!
You can track multiple quizzes in Storyline 360. If you have multiple quizzes, you can add a Results Slide to track the other Results Slides rather than questions. When publishing, choose to track progress with the Results Slide.
I've attached a sample file of this set up. Let me know if you have additional questions.