SCORM SetStatus does not work

Aug 27, 2013

Dear Community,

We are using Articulate Storyline Update 3.
But our LMS is not accepting any SCORM interaction.

Therefore, we tried to evoke a SCORM interaction with a JS-Trigger, like it is described on many websites.
But, as soon as we insert a "SetStatus" command, every tested LMS is not executing any JS in the

course any more.

E.g.:
We have 2 Buttons on a 1 slide project.

If we insert only the code
alert("Welcome back");
for button 1,
all is fine.

But, as soon as we insert the code
SetStatus(“completed”);
for button 2
also button 1 code isn't executed any more. Not even if we export to html instead of LMS.

We tested it with scorm cloud, too. No success.

Any idea? I attached my .story file.

Best regards,
Jesko

7 Replies
Bastiaan Timmer

On the latest version of Storyline 360 the code is different. I've successfully tested the scripts below in SCORM Cloud.

SCORM 1.2:

//get LMS API
var lmsAPI = parent;
//set score; the first number is the score
lmsAPI.SetScore(90, 100, 0);
//set status; possible values: "completed","incomplete", "failed", "passed"
//set status; possible values: "completed","passed", "icomplete", "failed"
SCORM_CallLMSSetValue("cmi.core.lesson_status", "complete");

SCORM 2004:

//get LMS API
var lmsAPI = parent;
//set score; the first number is the score
lmsAPI.SetScore(90, 100, 0);
//set status; possible values: "completed","incomplete", "failed", "passed"
SCORM2004_CallSetValue("cmi.completion_status", "completed");
SCORM2004_CallSetValue("cmi.success_status", "passed");

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