Copy link to clipboard
Copied
I am trying to call the javascript LMSGetValue method when the first slide of my course loads.
However, the following line is not working:
studentName = LMSGetValue("cmi.core.student_name");
I have consulted tech support from the LMS, and they said it appears as if captivate doesn't define the LMSGetValue method in the js file included in the course.
Do I need to do something to include the scormdriver.js file in the course when it is published?
Any help would be much appreciated.
SCORM_CallLMSGetValue("cmi.core.student_name");
You can also call this function once you get the name if it's not in the correct sequence:
ReverseNameSequence(strName)
Copy link to clipboard
Copied
What version of CP are you using?
CP7 and 8 bothe have cpQuizInfoStudentName that gets populated in an LMS.
You could also use:
SCORM_CallLMSGetValue(strElement)
Copy link to clipboard
Copied
I am using cp 8 to create a responsive project.
In your example above, would the strElement be cmi.core.student_name or are you referring to a cp variable?
Copy link to clipboard
Copied
SCORM_CallLMSGetValue("cmi.core.student_name");
You can also call this function once you get the name if it's not in the correct sequence:
ReverseNameSequence(strName)
Copy link to clipboard
Copied
TLCMediaDesign, thank you.
The following command worked properly:
SCORM_CallLMSGetValue("cmi.core.student_name");
I appreciate your help.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more