Problem retrieving cmi.interactions (pipewerks AS3 API)

354 views
Skip to first unread message

Abraham

unread,
Oct 20, 2009, 12:51:46 PM10/20/09
to eLearning Technology and Development
Hello,

I'm using Moodle and i was able to set values using
cmi.interactions.n.student_response, the problem is when returning to
the completed activity, I want to read that response the student gave
(for example, "Welcome back, you selected X").

When all I do (after connecting and checking "completed") is

var studentResponse:String = "";
studentResponse = scorm.get("cmi.interactions.0.student_response");

but studentResponse receives null..

Any suggestions or ideas?

Thanks in advance.

Ted Powers

unread,
Oct 21, 2009, 9:50:24 AM10/21/09
to elearning-technolo...@googlegroups.com
It could be that the attempt is over. In some LMSs once an attempt is completed the interaction data is not sent back to the course if it is a new attempt.
In order to have data returned you need to suspend the course and not complete it.

Abraham

unread,
Oct 28, 2009, 3:14:41 PM10/28/09
to eLearning Technology and Development
Thanks for your response, I tried leaving the activity as "incomplete"
but it had the same result.
Then I found in Moodle forums that cmi.interactions in SCORM 1.2 are
write only.

http://moodle.org/mod/forum/discuss.php?d=36926
(you need to create an account to see the messages)

I tried using Scorm 2004 calls instead, but any of the commands don't
seem to work... the only thing I see on Moodle activity resports is
cmi.core.lesson_status => incomplete.. I tried specifying the targeted
Scorm version (2004) in the html after the SCORM_API_wrapper.js link
but I had no success. Maybe I should ask what version of Moodle we
have... or see the configuration I don't know.

Thanks again.

On 21 oct, 07:50, Ted Powers <pow...@gmail.com> wrote:
> It could be that the attempt is over. In some LMSs once an attempt is
> completed the interaction data is not sent back to the course if it is a new
> attempt.
> In order to have data returned you need to suspend the course and not
> complete it.
>

Philip Hutchison

unread,
Oct 28, 2009, 3:56:12 PM10/28/09
to elearning-technolo...@googlegroups.com
SCORM 2004 requires different packaging (different imsmanifest and supporting XSD files).

You'd need to change these in addition to your SCORM calls (such as cmi.core.lesson_location versus cmi.location) in order to update our course to SCORM 2004.

Abraham

unread,
Oct 30, 2009, 6:38:11 PM10/30/09
to eLearning Technology and Development
Ahh of course, the imsmanifest and XSD... thanks Philip, now I got
Scorm 2004 to work.. well, partialy.
I am able to set the lesson location (and retrieve it), but not to
successfullly set and get the learner response and interaction type..
what leads me to the same situation as Andy:
http://groups.google.com/group/elearning-technology-and-development/browse_thread/thread/351e2da92d8da15e

Oh and I found this information about Moodle and Scorm 2004
http://docs.moodle.org/en/SCORM_FAQ#What_version_of_SCORM_is_supported.3F
(needs registration, but it says that 2004 is not completely supported
in Moodle) maybe what I want to do, cannot be done at the moment..

If someone has no problems with Scorm 2004 interactions, please let me
know :) maybe I'm just missing something, meanwhile I'll figure a
workaround.

Thanks.

On 28 oct, 13:56, Philip Hutchison <platelu...@gmail.com> wrote:
> SCORM 2004 requires different packaging (different imsmanifest and
> supporting XSD files).
>
> You'd need to change these in addition to your SCORM calls (such as
> cmi.core.lesson_location versus cmi.location) in order to update our course
> to SCORM 2004.
>

Philip Hutchison

unread,
Oct 30, 2009, 6:47:51 PM10/30/09
to elearning-technolo...@googlegroups.com
As you mentioned, SCORM 2004 support is not very reliable in Moodle right now. Moodle was just certified for SCORM 1.2 this past week!

If you really need robust SCORM 2004 integration with Moodle (and have some $$ to spend), you could get a license for Rustici Software's SCORM Engine. http://www.scorm.com

- philip

Abraham

unread,
Oct 30, 2009, 7:30:29 PM10/30/09
to eLearning Technology and Development
I see, maybe I'll stay with 1.2 for a while. And discuss about that
Scorm Engine with the boss.

Thanks again :)

On 30 oct, 16:47, Philip Hutchison <platelu...@gmail.com> wrote:
> As you mentioned, SCORM 2004 support is not very reliable in Moodle right
> now. Moodle was just certified for SCORM 1.2 this past week!
>
> If you really need robust SCORM 2004 integration with Moodle (and have some
> $$ to spend), you could get a license for Rustici Software's SCORM Engine.http://www.scorm.com
>
> - philip
>
> On Fri, Oct 30, 2009 at 3:38 PM, Abraham <biore...@gmail.com> wrote:
>
> > Ahh of course, the imsmanifest and XSD... thanks Philip, now I got
> > Scorm 2004 to work.. well, partialy.
> > I am able to set the lesson location (and retrieve it), but not to
> > successfullly set and get the learner response and interaction type..
> > what leads me to the same situation as Andy:
>
> >http://groups.google.com/group/elearning-technology-and-development/b...
>
> > Oh and I found this information about Moodle and Scorm 2004
> >http://docs.moodle.org/en/SCORM_FAQ#What_version_of_SCORM_is_supporte...
Reply all
Reply to author
Forward
0 new messages