Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Captivate not calling: function SCORM_Initialize()

Participant ,
Jun 19, 2015 Jun 19, 2015

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

944
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Jun 20, 2015 Jun 20, 2015

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 22, 2015 Jun 22, 2015

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"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Jun 22, 2015 Jun 22, 2015
LATEST

The only function that LMSInitialize("") is called is in the SCORM_CallLMSInitialize() function which is invoked in the SCORM_Initialize() function.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources