Copy link to clipboard
Copied
Good afternoon all,
I have a Captivate-generated course which contains a native quiz.
There is a function in the scormdriver.js which checks if the course has been opened and then sets the initial status to incomplete.
That function is called: SCORM_Initialize
HOWEVER, there is no reference to this function anywhere within the javascript or HTM files generated by Captivate.
In other words, if you open/close a course, it gets marked as "completed."
How do I get this to fire properly?
~ Sean
Copy link to clipboard
Copied
If it's getting set to complete, then the course has been initialized. The initialization process is that once the API handle is found, the course will write the lesson status as "incomplete". Then it reads the same field. When it returns "incomplete" the LMS is ready for communication with no errors.
The real initialize, that must be invoked is SCORM_objAPI.LMSInitialize(""); which is in the SCORM_CallLMSInitialize() function.
At a minimum every SCO needs to invoke LMSInitialize(""); and LMSFinish("");
If your course is being set to complete when launched, you need to find the "rule" that is writing the completion.
Copy link to clipboard
Copied
Hey TLC!!
I believe you're looking at the LMSInitialize(); function. That does get called in the Captivate file.
The function i was looking at was "SCORM_Initialize()" which sets the course to incomplete upon launching if it was previously incomplete.
It checks and sets "lesson_status"
Copy link to clipboard
Copied
The only function that LMSInitialize("") is called is in the SCORM_CallLMSInitialize() function which is invoked in the SCORM_Initialize() function.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now