SCORM Support

 

The following script functions are provided to mirror the SCORM actions in Opus and allow you to use script to communicate with an LMS.

LMSInitialise() – the compulsory start-up command which initialises communication with the LMS. The LMS will return true if successful and this is automatically stored in the Opus variable LMS_INITIALISE_RETURN

LMSFinish() – Ends communication with the LMS. Again this action is compulsory. The LMS will return true if successful and this is automatically stored in the Opus variable LMS_FINISH_RETURN

LMSCommit() – Confirms the submission of data to the LMS and tells the LSM to commit the data to it’s records. The LMS will return true if successful and Opus will automatically store this in LMS_COMMIT_RETURN

 

LMSGetValue("datamodel"," returnvar") – this function retrieves information from a specific data model (variable) in the LMS and puts it into an Opus variable (returnvar)

For example: LMSGetValue("cmi.core.score", "SCORE") will get the score currently saved in the LMS and place it in the Opus variable SCORE.

 

LMSSetValue("datamodel", value) – this function sends a value or Opus variable to a specific data model (variable) in the LMS. Note that the name of the data model should be surrounded by quotation marks and text you want to send to the data model should also be surrounded by quote marks to indicate that it is a string.

For example: LMSSetValue("cmi.lesson_status", complete) will store the current Opus page as the current LESSON_LOCATION in the LMS).

 

We have provided an example publication containing examples of these functions which can be accessed from the File menu in the Opus Pro editor.

Please see the SCORM specification at ADL.net for details of the data models available in each version of SCORM and the format the data should take..