Forum Discussion

rawi's avatar
18 hours ago

Why does the SCORM course not use the

Why does the Publish > Export > SCORM 1.2 not appear to use the 8 API functions in its source? 

Looking at the file used in publish_folder/scormcontent/index.html it seems it is using the following

    var LMSProxySelections = [
      'CommitData',
      'ConcedeControl', // Gives control back to the LMS
      'CreateResponseIdentifier', // Create question response
      'Finish',
      'GetDataChunk',  // Retrieve stringified object with lesson progress
      'GetStatus', // Get Current Status
      'MatchingResponse', // Interaction - Question Type
      'RecordFillInInteraction', // Interaction - Question Type
      'RecordMatchingInteraction', // Interaction - Question Type
      'RecordMultipleChoiceInteraction', // Interaction - Question Type
      'ResetStatus', // Reset the Status
      'SetBookmark',   // Set identifier for bookmark
      'SetDataChunk',  // Set a stringified object with lesson progress
      'SetFailed', // Tell LMS user Failed course
      'SetPassed', // Tell LMS user Passed the course
      'SetReachedEnd', // Tell LMS user completed course
      'SetScore', // Report Users Score to the LMS (for Pass and fail)
      'WriteToDebug',
    ];


And when my own LMS is running its API adapter, it is looking for the function below.  

The Run-Time Environment in a Nutshell

A SCORM conformant LMS is required to implement an API consisting of 8 Functions that content may access to communicate with the LMS.

  • LMSInitialize()
  • LMSFinish()
  • LMSGetValue()
  • LMSSetValue()
  • LMSCommit()
  • LMSGetLastError()
  • LMSGetErrorString()
  • LMSGetDiagnostic()

 

Source https://scorm.com/scorm-explained/technical-scorm/scorm-12-overview-for-developers/ 

Thanks.