Send comments to suspend_data
I had previously got this working on a different LMS however I am now using Cornerstone On Demand and am limited by what SCORM values I can use in reports. Previously I had sent a custom text variable containing user feedback from within the module, this went to the cmi.comments field which could then be pulled off and analysed in a report.
Instead I am left now with only the suspend_data option. I am currently trying to use javascript like this to pass the variable -
SCORM_CallLMSSetValue("cmi.suspend_data","/"+window.cpAPIInterface.getVariableValue("Feedback_Comments"));
In this example "Feedback_Comments" is the name of the variable.
This exact code worked with cmi.comments but doesn't work with suspend_data, am I missing something obvious? Or is it not possible to pass variables to suspend_data in the same way?
Thanks in advance,
