Forum Discussion
Retrieve LMS User Name as Variable
A while back, Sam Coulson replied to a request surrounding retrieving data from an LMS. He included the list of variables LMSAPI.js addresses. These are industry-standard variables and functions, originally used by AICC-compliant LMS' and courses.
As Sam says in his message, "this is advanced coder territory, reverse-engineer with caution."
Help with JavaScript and pulling data from an LMS
The SCORM Run-Time Reference Guide describes the data elements supported by the specification. Learner-demographic data (which your LMS may or may NOT support) is confined to:
- cmi.learner_id: Identifies the learner on behalf of whom the SCO was launched
- cmi.learner_name: Name provided for the learner by the LMS
- cmi.learner_preference.audio_level: Specifies an intended change in perceived audio level
- cmi.learner_preference.language: The learner’s preferred language for SCOs with multilingual capability
- cmi.learner_preference.delivery_speed: The learner’s preferred relative speed of content delivery
- cmi.learner_preference.audio_captioning: Specifies whether captioning text corresponding to audio is displayed
While AICC does have several more learner-demographic data elements than SCORM does (including address, company, and years of experience), AICC, which SCORM was based on, did not support a data element for the learner's photo.