Skip to main content
AP_AW
Inspiring
October 6, 2016
Answered

Variable value to LMS

  • October 6, 2016
  • 2 replies
  • 832 views

My course users one custom user variable and it's important that it's current value gets stored to the LMS when the user exits the course but whatever I do only the variable's initial value is stored (when I check the LMS the value that appears in suspend_data is the initial value).

I've embedded the variable into the stage to be more sure what the value is when the course is exited and it does not appear to reset on exit.

Is there something I need to do to get the value stored to the LMS?

This topic has been closed for replies.
Correct answer dan_tasota

I think the issue may be suspend data.  In SCORM 1.2, I think you are only allowed 4000 bytes.  CP uses a lot of that.  If you have more than 100 pages in your cptx, you may be already overrunning that limitation.

Try publishing to SCORM 2004 (which allows 64,000 bytes of suspend data I believe) and testing in SCORM Cloud.

If that works, than you can be pretty sure that you are overrunning SCORM 1.2's suspend data limitations.

2 replies

dan_tasota
Inspiring
October 7, 2016

Try some of the settings in LMS Advanced Settings:

Edit > Preferences > Quiz > Reporting

Click the Advanced button.

Check "Send Data On Every Slide"

Not sure whether or not that will solve your problem, but it's worth a try.

TLCMediaDesign
Inspiring
October 6, 2016

Are you sending data on every slide in your publish setting?

What version of SCORM? You can persist data in the cmi.comments.

AP_AW
AP_AWAuthor
Inspiring
October 7, 2016

No I'm not sending data on every slide. Should I be?

I'm using SCORM 1.2.

While I'm quite familiar with SCORM I'm not with cp's SCORM API. I wondering if there's anywhere that documents it or do I, as I suspect I do, need to deconstruct the published JavaScript files?