Forum Discussion
JoeLloyd-17dcfe
3 years agoCommunity Member
LMS Course Name JavaScript Action
Morning all,
I am hoping someone will be able to support me here, I am trying to have a JavaScript action that will set my "CourseName" the code i am using is as follows;
var player=GetPlayer();...
JoeFrancis
3 years agoCommunity Member
Sam Coulson listed all of the available functions in LMSAPI.js several years ago. These functions correspond to their AICC/SCORM data elements. While AICC did have a data element reserved for course title called course.title, SCORM did not carry that data element over.
Since that element doesn't exist, you can't even query the LMS through the API using the SCORM function GetValue(element:CMIElement) : string, because, again, course.title doesn't exist in the SCORM dataset.