Sending SCORM Completion on a Button Press in SL3

Mar 30, 2018

Hello Everyone,

I am trying to pass a SCORM course completion on a button press, on a results slide. For some reason, the below JS code does not send the completion status to SCORM Cloud. Any ideas why?

var player = GetPlayer();

function findLMSAPI(win) {

 if (win.hasOwnProperty("GetStudentID")) return win;

 else if (win.parent == win) return null;

 else return findLMSAPI(win.parent);

}

 var lmsAPI = findLMSAPI(this);

 SetStatus("Passed");  

1 Reply

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