SL 3 Scorm 2004 file doesn't work well on a LMS

Mar 25, 2021

Hello, Heroes and Staffs,

 Last year, I submitted Scorm 2004 2nd edition created by SL2 to a customer and they uploaded it on their LMS and it worked well.

This year, I submitted Scorm 2004 2nd edition created by SL3 (this storyline file has been based on last year’s one) and they uploaded it on their LMS and it doesn’t work well.

 The customer said that some process for “Suspend” and “Terminate” button doesn’t work on their LMS because such process has not put in this scorm file.

And they said that such process has put in the scorm file I submitted last year.

 I’m not sure about API or Javascript but the SPOC of the customer summarized the points to be updated as below. Do you know what can I do referring to the summary below?

                             //--------------

                            // Suspend process

                            // ※Suspend process executes suspend and terminate process

                            //--------------

                            // Save suspend information

                            // Suspend date is passed by value

                            API.SetValue('cmi.suspend_data', value);

                            // Can execute normally suspend process if the flag below is true

                            API.navSusFlag = true;

                            API.SetValue("adl.nav.request", "suspendAll");

                            // Obtain learning time

                            var c_Ftime = (new Date()).getTime();

                            var c_Time = c_Ftime - SessionTimeStart;

                            // Obtain learning time(Seconds)

                            var Seconds = Math.floor(c_Time / 1000);

                            // Format 00H00M00S style

                            // Ex(1時間32分15秒 : 1H32M15S)

                            var session_time = jp.aomai.LMSUtils.SetSessionTime(Seconds);

                            API.SetValue("cmi.session_time", session_time);

                            //--------------

                            // Terminate process

                            // Learning time is obtained even if it is terminated

                            //--------------

                            // Commit training date

                            API.Commit('');

                            // Training is terminated

                            // Status is updated as suspendable and terminatable at this stage

                            API.Terminate('');

Be the first to reply