Variable Reporting to LMS as Score
Hi everyone,
I'm stuck here...I've been going back and forth through eLearning Heroes and everything I can find is extremely dated and I have not been able to get anything to work with testing in ScormCloud.
Essentially, I have a Layer on a slide that a score will be entered into. This is a text entry box (or I can convert it to numeric entry). A value will be entered into this. I have the trigger for TextEntry1 showing as "When Text Entry 1 loses focus, Set v_FinalScoreValue equal to typed value"
v_FinalScoreValue is the variable I want to send to the LMS as the score.
I have tried to do the survey work around I have found - where you set the variable to the value of the survey entry - but that hasn't worked. (Report Number Variable Result to LMS - Articulate Storyline Discussions - E-Learning Heroes)
I have tried this JavaScript code:
// Get the player's score variable from Storyline
var player = GetPlayer();
var finalScore = player.GetVar("v_FinalScoreValue");
// Send the score to the LMS
SCORM_SetScore(finalScore, 100, 0);
I am also trying to use xAPI in this project. I have tried a number of combination of things to try and get this to work.
Any insight from the experts?