Can we call core.cmi.lesson_status using javascript trigger in a particular slide?

We have a few courses developed in Storyline 2 and published for SCORM 1.2. Our LMS SumTotal (version 17.1) team reported that learners who closed courses using Exit button of course the completion was marked; however, using browser close the courses do not move to completion. In both cases all modules were completed by learners.  We are using completed/incomplete parameter for success criteria. 

Therefore, our LMS team has asked to set completion explicitly using core.cmi.lesson_status variable. Can we add this API call using javascript trigger? Will that affect any other functionality of SL slides or API calls?

2 Replies
Matthew Bibby

Hi Trupti,

See if this does the trick:

var lmsAPI = parent;
lmsAPI.SCORM_CallLMSSetValue("cmi.core.lesson_status", "completed");

Please check  this in both the HTML5 and Flash output (if applicable).

This won't affect any other functionality. I usually advise that people modify their course so that Storyline doesn't send it's own completion message, but it sounds like in this case this is just being used as a backup - so that doesn't apply in this case.

Hope this helps.