[Xerte] SCORM Suspend Data

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Jan 8 15:34:01 GMT 2010


What happens in the test suite?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Beckwith
Sent: Friday, January 08, 2010 3:36 PM
To: 'Xerte discussion list'
Subject: [Xerte] SCORM Suspend Data

 

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/e01d8230/attachment.html


More information about the Xerte mailing list