Advice on system design

31 views
Skip to first unread message

SteveB

unread,
Apr 23, 2012, 7:05:41 AM4/23/12
to elearning-technolo...@googlegroups.com
I'm just starting to investigate Scorm and Moodle. I've experimented with adding Phillip's Planets example to Moodle and hacking the code to report a score. So far, so good.
 
I have written  a (non-Scorm)  application in  Flex which tests prescribing skills in a number of different case-based scenarios. So I launch it something like:
The program reads all the data from a mary.xml file and presents the case, reporting a score at the end (and in the current system writing the scores to a mySql database).
 
Now I'd appreciate some advice as to how I might imlement this to work as a Scorm package within Moodle. I think I  understand how to package it, launch it and save scores (because that's not too different from Phillip's example). But how would I tell it to use a particular case? Obviously I don't want to load up more than one Scorm package into Moodle.
 

John Campbell

unread,
Apr 23, 2012, 12:03:50 PM4/23/12
to elearning-technolo...@googlegroups.com
SCORM is launched with an HTML file.  The item element in SCORM can have a parameters attribute which is basically a querystring to the HTML page, just as you have below.  You can parse this in JavaScript and pass params to your SWF.

You can also use the <adlcp:dataFromLMS> element to send a string.  This is also in the <item> element.  I forget exactly where it goes, maybe after the <title>.

<adlcp:dataFromLMS>Mary</adlcp:dataFromLMS>

This is accessed from your JS/AS with cmi.launch_data. So, something like 

var case=doGetValue("cmi.launch_data");

HTH,

jpc

 

--
You received this message because you are subscribed to the Google Groups "eLearning Technology and Development" group.
To view this discussion on the web visit https://groups.google.com/d/msg/elearning-technology-and-development/-/PvMFYQBSpHsJ.
To post to this group, send email to elearning-technolo...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/elearning-technology-and-development?hl=en.

SteveB

unread,
Apr 24, 2012, 2:32:43 PM4/24/12
to elearning-technolo...@googlegroups.com, j...@alumni.rice.edu
Hi John,
   That is very helpful. I have included <adlcp:dataFromLMS>Case study: Mary</adlcp:dataFromLMS> in the imsmanifest and can retrieve that value from "cmi.launch_data" inside the Sco. Moodle stores this in its database, when the package is first loaded. A cloned instance of the learning activity has its own database entry, and I've been able to overwrite the value to launch the same stored Sco with different initialisation data.
   My only problem left now is how to do it without overwriting directly in the database. I've opened a Moodle tracker to request that the value be exposed in the GUI edit form  http://tracker.moodle.org/browse/MDL-32622  (Anyone reading, please vote for this!)
Many thanks for your help. I think this is probably the best solution.
Steve
Reply all
Reply to author
Forward
0 new messages