Forum Discussion
Courses not COMPLETING on LMS
- 5 years ago
So for anyone else in the same position and reading this - there is hope!
Whichever slide had your "complete course" trigger on, make it a Results slide.
Then on any previous slide, go to INSERT > Convert to Freeform, and choose Pick One.Choose any object already on your slide, or create a new object off screen if you prefer. Set this object to your one and only option in the Pick One choices. Then set its initial state to SELECTED.
Finally, ensure you have the SUBMIT INTERACTION trigger added to this slide. I added it on the NEXT button click, and "when timeline ends" because my specific course is set to automatically move from one slide to the next.
And thats it. Publish your course, ensuring that the TRACKING is now set to "When the learner completes a quiz" and not "Using triggers"
Hi all,
I am following up with the latest Storyline build (Sept 20, 2022 - 3.68.28773.0) build and using SCORM Cloud as my test platform.
I have created a SCORM 1.2 course (Modern Player) tallying up my own score. I then pass this score via JavaScript using (lmsAPI.SetScore(80, 100, 0). This hasn't been a problem.
However, when apply the Complete course trigger to set my lesson status to "Complete/Passed" or "Complete/Failed" and then close the window by clicking the "X" button on the bar. I get the following:
> "Complete/Passed" trigger works
> "Complete/Failed" does not work
I could manage to get a "failed" status by the following JavaScript snippet attached to a button:
// **************
lmsAPI.SetScore(myScore, 100, 0);
// lmsAPI access the SCORM API
// myScore is the calculated value e.g. 70
lmsAPI.SCORM_CallLMSSetValue("cmi.core.lesson_status", "failed");
lmsAPI.SCORM_CommitData();
lmsAPI.SCORM_CallLMSFinish(); // This line is key to ensure that the lesson status is set and closes the course window.
// **************
Just to reiterate, even if I set the lesson status, the completion status is not set by clicking on the "X" button. I was assuming SCORM_CallLMSFinish() would take care of this as in the case for the "passed" case. Unfortunately, it is not.
Any feedback would be appreciated.
Thanks,
David
Related Content
- 4 months ago
- 8 months ago