SCORM Score
Hi everyone. I am hoping someone can help me out.
Here is the situation, I have a course that contain a quiz slide like multiple choice and multiple response. Each option contains some weight like 0,1,2.
Initial multiple choice quiz slide contain branching like if i click 1st or 3rd option it will go to 3rd question,if i click 2nd or 4th option it will go to 4th slide.
In multiple choice question i have used score by choice option but in case of multi response there is no such option available. So i used custom variable to add weight of multi response options.
Here are the issues which i am facing:
Issue 1: If i completed the course, SCORM shows result 92% because we are skipping 2 slide as per functionality. Is there any way to overcome this problem with this functionality?
Issue 2: Total slide contains 51 points(32 for multiple choice and 19 for multiple response). At the result slide i have used the custom variable for displaying result. But i am unable to send the value of custom variable on LMS.
SCORM showing result on the basis of multiple choice (32 marks). How to change the LMS score and Status and Score Percentage on the basis of custom variable?
Issue 3: I have used java script for emailing the content what i have typed in a text entry box and it's working well. But the problem is that it opens a blank tab at the same time. How to prevent from opening a blank tab.
I am attaching story file for reference.
Any help would be greatly appreciated, thanks.
19 Replies
Thanks Ravi for reaching out here - and sending custom score variables or the use of Javascript is not something that our team can offer support for, so hopefully others in the community are able to weigh in and assist! The results slide's built in functionality will need to calculate all the questions you've included for scoring regardless of if the user saw them - there isn't a different option in Storyline currently, although you're welcome to request a change in behavior as a feature request.
Dear Ravi.
The solution with Javascript should be possible.
One solution could be for Issue 1 and 2 (SCORM 1.2):
player = GetPlayer();
var intScore = player.GetVar("CustomResult_Score");
var lmsAPI = parent;
lmsAPI.SetScore(intScore, intMaxScore, intMinScore);
if(intScore <= 26) //Or whatever your passingscore is
{
SetStatus("failed");
}
else
{
SetStatus("passed");
}
Issue 3: I do not see any Javascript in your project so I can not try.
Hi Christoph,
I have tried but not get result it shows 0%. Could you implement this i am attaching a story file with email functionality.
Also i am facing a problem with this email functionality that, it does not support by safari browser. It show only blank slide. Thanks!
As I am out of office for today I can not promise when I can have a look at it.
Dear Ravi.
I had to do some workarounds but it works now. (tested in Scorm Cloud).
Maybe you have to adjust some variables to your needs.
Your exit couse button caused some issues. I had to remove it.
The blank window still accures but closes immediately.
Score, failed/passed works now.
I can not assist you with the Safari issue as I do not use any Apple products.
Hi Christoph, Thank You so much.
It's working. Thanks alot. :)
You're welcome Ravi.
Hi Christoph, this functionality only works for SCORM 1.2.
SCORM 2004 and Tin can not support it. Is there any other functionality for SCORM 2004 and Tin can?
SCORM 2004 should not be a problem.
Tincan as well I guess, for someone who has more experience in tincan statement manipulation than me, as I do not need tincan right now.
Hi Christoph, Could you please help for SCORM 2004.
It gives desire result in SCORM 1.2, but in case of SCORM 2004 it is not working properly.
My project contains 51 points. If i get 51 out of 51 then it shows 51% in SCORM 2004 but with the same functionlity in SCORM 1.2 it shows 100% if i get 51 point. What are the setting i need to do?
This project is near about to close but due to SCORM 2004, it stucked.
Thanks for sharing Christoph ! it's very helpful for me...
Thanks everyone for providing such a robust thread from which others can gain!
Dear Ravi.
As SCORM 2004 is working slightly different to SCORM 1.2 I have adjusted some things that it works with both versions wihtout changing a thing.
There are only 2 variables you have to set in the Storyline project.
The variable maxScore and the variable passPercent.
Here is the code for it just for info:
var player = GetPlayer();
var intScore = player.GetVar("CustomResult_Score");
var maxScore = player.GetVar("maxScore");
var passPercent = player.GetVar("passPercent");
var lmsAPI = parent;
//For Scorm 1.2
lmsAPI.SetScore(intScore, maxScore, 0);
if(intScore <= passPercent)
{
SetStatus("failed");
}
else
{
SetStatus("passed");
}
//for SCORM 2014 4th edition
lmsAPI.SetPointBasedScore(intScore, maxScore, 0);
Hi Christoph, Thank you for this.
I did something different and that's working great.
Thanks.
Could you please tell us what you did?
Maybe someone else could learn from this.
Ya Ofcourse. I am attaching storyfile for this.
I did this:
var player = GetPlayer();
var intScore = player.GetVar("CustomResult_Score");
var intScore1 = intScore*100;
var intScore2 = intScore1/19;
var lmsAPI = parent;
lmsAPI.SetScore(intScore2, 19, 0);
if(intScore2 <= 9)
{
SetStatus("failed");
}
else
{
SetStatus("passed");
}
This above code give me exact result.
Yes. this does exactly the same, but you always have to toucht the Javascript.
However. Glad it works for you now.
Thanks christoph, i'll keep in mind.
:) :)