How to pass additional parameters from SCORM to moodle?

Re: How to pass additional parameters from SCORM to moodle?

by Abhishek kumar -
Number of replies: 0

Hi Rasha,

LMSSetValue() is used to report data to LMS through supported variables, but

i suppose u want to want to report variables which u have created on your own and not supported in LMS or SCORM, if this is the case then:

it will not be reported to Moodle and will give error, also it would be like avoiding scorm specifications.

however it can be done by adding variables at appropriate places as follows:

Goto:   your_moodle_dir/mod/scorm/datamodels/scorm_12.js    and add variable u want to create in 'datamodel' variable. 

u may need to add more specification based on the context, i hope u understand the code there before making changes.

Conclusion:

to add other variables besides defined in SCORM specifications functionality is not provided or intended to provide.

however, it can be done manually and involves risk to break code.