Captivate 6 - Getting Values from LMS
The old var theval = g_objAPI.LMSGetValue(cmivalue); value doesn't seem to work in Captivate 6 since the rebuild of the SCORM wrapper. Is there any way to do this setup with Captivate 6? We are doing our best to get cmi.core.student_name from our LMS and post it on a certificate within Captivate.
I'd like to see if anyone has figured out how to do the setup below with Captivate 6 and scormdriver.js file.
(This is done in Captivate 5 and 5.5)
In the scorm_support.js file I added the following:
function scorm_get(cmivalue, whichval){
//Get the name from SCORM 1.2
var theval = g_objAPI.LMSGetValue(cmivalue);
//Send the name to Captivate via ExternalInterface
document.getElementById("Captivate").cpEISetValue(whichval,theval );
}
Thanks,
Jcole
