Picture of Tariq Aziz
Saving free text to LMS
by Tariq Aziz - Friday, 2 February 2018, 7:15 PM
 

Hi All,

Is there a possiblity of saving free text (essay type) to LMS? I explored the core text input component but it is saving the ID of the correct answers and incorrect answers will not be saved. Also Adapt is restricting characters to save using SCORM in spoor extension. Also other components are saving in the same pattern. Seems like SCORM1.2 don't support free text saving, if not then is there any alternative?

Getting this error: Cannot store _userAnswers from component "c-22" as array is of variable or string type

Regards,

Picture of Matt Leathes
Re: Saving free text to LMS
by Matt Leathes - Friday, 2 February 2018, 8:15 PM
 

In SCORM 1.2 - not really. suspend_data only allows for 4KB of data which isn't much when you're talking about free text - and of course some of it is already going to be used for storing tracking data.

If the LMS in question is Moodle you can increase the storage allocated for suspend_data to the same limit that SCORM 2004 has - if that's any use?

Otherwise cmi.comments is a possibility - still only 4096Bytes in SCORM 1.2 but at least you can be sure nothing else is going to be using it. However, it's not guaranteed to be supported by all LMSes as it's an optional element of SCORM 1.2 and, as such (and because it's so rarely used), there's no code to support writing to/reading from it in Adapt.

Is SCORM 2004 an option? What about xAPI?

Picture of Matt Leathes
Re: Saving free text to LMS
by Matt Leathes - Friday, 2 February 2018, 8:52 PM