LMS API variables

Jan 09, 2023

Is there a way to find a list of all the LMS api variables that we can retrieve via JScript?

For example for the:

Student Name its  lmsAPI.GetStudentName();

Status lmsAPI.GetStatus();

Student ID its lmsAPI.GetStudentID();

My lms has an organization field, would that be something I would be able to retreive?

1 Reply
Joseph Francis

Sam Colson posted the list of variables he found in LMSAPI.js about 10 years ago. As he said then, "reverse-engineer with caution."

Help with JavaScript and pulling data from an LMS

"Organization" is not in the SCORM Run-Time Reference of data elements (and "Company" was removed from the list of student demographic data elements, along with several other elements), so probably no.