[Xerte] SCORM Suspend Data

Paul Beckwith paul.beckwith at acns-group.com
Fri Jan 8 15:35:56 GMT 2010


Hi everyone, I have another problem .. 

 

I'm simply trying to set some suspend data in the LMS and then get it back.
I have a blank Xerte file from scratch with the following in it. 

 

 

//Get the suspend data.

suspendData =  _level0.getValue('cmi.suspend_data');

 

//Print the value out in a text icon.

{"THIS IS THE CURRENT SUSPEND DATA:"  + suspendData }

 

//set the suspend data:

p = "this is a string";

_level0.setValue('cmi.suspend_data',p);

 

 

I would expect to run it once to set the suspend data and then the second
time to read it, but all I ever get is undefined..

 

Can anyone help?

 

Paul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100108/fcf19580/attachment.html


More information about the Xerte mailing list