Skip to main content
Inspiring
April 30, 2018
Question

Javascript completion for SCORM 2004 4th Edition

  • April 30, 2018
  • 0 replies
  • 532 views

Hi there,

I manage to use JS script for OnEnter completion of course + also I can use these lines in a Console.

This works in SCORM 1.2

SCORM_objAPI.LMSSetValue("cmi.core.lesson_status", "completed");

I am trying the same for SCORM 2004 4th Edition.

I am trying this in a console without success. Where do I have it wrong?

SCORM_CallLMSSetValue("cmi.completion_status", "completed");

or

SCORM_objAPI.LMSSetValue("cmi.completion_status", "completed");

Thanks in advance

B

PS. I digged a bit and found that in the Console this is the syntax

SCORM2004_CallGetValue('cmi.completion_status')

SCORM2004_CallSetValue('cmi.completion_status', 'completed')

Works as OnEnter code too

Thanks

    This topic has been closed for replies.