Storyline 3 - Passing score and completion status to LMS - SCORM 2004

Apr 19, 2018

Hello,

I am trying to pass a custom score and completion status to a clients LMS but it isn't working. I'm using Storyline 3 and publishing using SCORM 2004 . It works on SCORM Cloud but not their LMS. I wish to report a custom variable 'Score_Total' to generate the overall score.

The current JavaScript code is as follows:

var learner = GetPlayer();
var lmsAPI = this;
var learnerScore = learner.GetVar("Score_Total");

lmsAPI=parent;
lmsAPI.SetScore(learnerScore,100,0);
SetStatus("passed");

I had to change 'var lmsAPI = parent;'  to 'var lmsAPI = this;' as per the clients request as this seems to work on their LMS.

Any help would be much appreciated!

Rob,

2 Replies

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