I have created a small course for a tester on our Blackboard(2010). I am using the pipwerks wrapper (we use 2004) and though my success and completion statuses are being successfully sent through to our blackboard, the score is not getting communicated (have tested on ScormCloud). I will post relevant code below. Any assistance would be greatly appreciated!
$(document).ready(function () {
pipwerks.SCORM.data.set('cmi.score.min', '0');
pipwerks.SCORM.data.set('cmi.score.max', '100');
});
// Loads questions if there are any remaining
if (questionNumber < shuffledQuestions.length) {
generateAssessmentSlides();
} else {
var finalScore = yourScore / 100;
nextSlide();
$(".score").html(yourScore);
// Sets assessment score
pipwerks.SCORM.data.set("cmi.score.raw", '' + finalScore + '');
// Sets assessment as completed
pipwerks.SCORM.data.set("cmi.completion_status", "completed");
// Saves status before results
pipwerks.SCORM.data.save();
// Shows pass/fail screen depending on the score and shares that data with the LMS
if (finalScore >= passingScore) {
pipwerks.SCORM.data.set("cmi.success_status", "passed");
pipwerks.SCORM.data.save();
} else {
pipwerks.SCORM.data.set("cmi.success_status", "failed");
pipwerks.SCORM.data.save();
}
}
});
}