Retrieving value from LMS


I am hoping someone can help me.  I am trying to retrieve the cmi.mode from the LMS as I need to return the course to the beginning if this is in 'review'.

I have tried executing the following javascript to see if I can get this information from the LMS before then assigning it to a trigger, but it's not working:

var myEntry = SCORM2004_CallGetValue( "cmi.mode" );

I would appreciate any help please :)

Many thanks


1 Reply