Passing Value to LMS (Brightspace)

Sep 01, 2020

I have a set of slides the student has to go through.  So now matter how far they get I am trying to capture this.  I am keeping track with Javascript how far they get as a percentage of the total slides.  I am trying to push this to the LMS using :

//get LMS API
var lmsAPI = parent;
//set score; the first number is the score
alert(currentPercentage);
lmsAPI.SetScore(currentPercentage, 100, 99);

currentPercentage is how far they have gotten.  I get the alert and it is correct, however it is not pushing this to LMS.  

Does anyone know what I am doing wrong?

 

Thanks.

3 Replies
Sarah Hodge

Hi Craig! Can you share more about the alert that displays? That info would definitely help some of our Javascript experts in the community offer advice and next steps. 

It's a bit outside my realm of expertise, but one suggestion for LMS behaviors is to look at testing in another environment. SCORM Cloud is a great option for that. 

Sarah Hodge

Thank you for sharing more info, Craig. Since your course works properly at SCORM Cloud but not in your LMS, you may need to open a support case with your LMS provider to troubleshoot the issue. They’ll know how to help with LMS-specific problems. Or hopefully, someone here in the community that has experience with JavaScript and Brightspace LMS can help.  

This discussion is closed. You can start a new discussion or contact Articulate Support.