Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorSam2S
    • CommentTimeApr 15th 2008
     
    Have just tried to get your sample code working with Flex 2 running in Moodle 1.8 - any ideas why I should be getting "Error code 401 - undefinited data model" when I add:

    variableName = scorm.get("cmi.core.student_id");

    after the call to scorm.connect();? It does say that it connected, but it doesn't seem to like my added syntax.

    Cheers,
    • CommentAuthorphilip
    • CommentTimeApr 15th 2008
     
    Are you using SCORM 1.2 or 2004?

    cmi.core.student_id is a SCORM 1.2-specific call. According to the SCORM 1.2 docs (page 29 of 85 of the SCORM_1.2_RunTimeEnv.pdf), a 401 error on cmi.core.student_id means the LMS doesn't support that call ("not implemented").

    If you're trying to use SCORM 2004, the syntax for cmi.core.student_id has changed to cmi.learner_id.