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.
    • CommentAuthorquinu
    • CommentTimeJun 16th 2008
     
    I have tried to pull the cmi.core.entry but this always comes up "null". The document I am looking off of says this is a read-only parameter which I take means the LMS must alter it. Ignoring that, I tried a set and it still comes up null. Can someone enlighten me on this data type?

    Cordially,
    Jason
    • CommentAuthorphilip
    • CommentTimeJun 18th 2008
     
    hi jason

    in SCORM 1.2, cmi.core.entry is set by the LMS (is read-only) and returns one of the following strings:


    • "ab-initio": only returned if this is the user's first attempt at the course

    • "resume": as it says. :)

    • "": if the LMS can't report the previous two strings, it passes an empty string. As the documentation states, this is most common when a person launches a previously completed course (not a suspend, not an ab-initio).


    the cmi.core.entry value is "LMS mandatory", so it should be available to you in any SCORM-conformant LMS.

    if you're getting a null return value, there are many things that could be happening. without seeing your code or knowing your LMS, i can only make guesses.

    perhaps it's returning an incorrect value (null) because your LMS doesn't properly support SCORM.

    perhaps something in your code is misinterpreting the string and returning a null value.

    maybe your course is set to SCORM 1.2 while the LMS thinks it should be SCORM 2004? (SCORM 2004 uses cmi.entry, not cmi.core.entry)

    there are all kinds of possibilities. are you using the pipwerks SCORM wrapper?

    - philip

    PS: if you'd like to ensure the cmi.core.entry value will return "resume" on re-launch, set cmi.core.exit to "suspend" when exiting the course.
    • CommentAuthornroyman
    • CommentTimeJun 20th 2008
     
    Hi Philip - Im using your AS3 wrapper and works brilliantly. One thing is the LMS is returning some uncessary calls which I want to get rid of from the wrapper

    This is the code from the LMS console
    readData('cmi.core.lesson_location', 'CORE', 'LESSON_LOCATION')
    returning ''
    readData('cmi.core.credit', 'CORE', 'CREDIT')
    returning 'C'
    readData('cmi.core.lesson_status', 'CORE', 'LESSON_STATUS')
    returning 'N,A'
    readData('cmi.core.entry', 'CORE', 'LESSON_STATUS')
    returning 'N,A'
    readData('cmi.core.total_time', 'CORE', 'TIME')
    returning '00:00:00'
    readData('cmi.core.lesson_mode', 'CORE', 'LESSON_MODE')
    returning 'null'
    readData('cmi.core.score', 'null', 'null')
    returning 'null'
    readData('cmi.core.score.raw', 'CORE', 'SCORE')
    returning ''
    readData('cmi.core.score.min', 'CORE', 'SCORE')
    returning ''
    readData('cmi.core.score.max', 'CORE', 'SCORE')
    returning ''
    readData('cmi.suspend_data', 'CORE_LESSON', '')
    returning 'null'
    readData('cmi.launch_data', 'CORE_VENDOR', '')
    returning 'null'
    returning 'null'
    returning 'null'
    returning 'null'
    returning 'null'
    returning 'null'
    returning 'true'

    Any ideas on how to turn this off
    • CommentAuthorphilip
    • CommentTimeJun 20th 2008
     
    i've never seen that code myself, and i'm pretty sure that's not coming from my AS3 class (unless it has been modified).

    readData is not one of my functions. perhaps it's part of the LMS's inner workings and is spitting out messages to the console?