SCORM Runtime Wrapper Extension

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default SCORM Runtime Wrapper Extension

    Hello all,

    I am going to use the SCORM Runtime Wrapper Extension to communicate with our
    LMS for course start, course completion, etc.

    What is an easy way (e.g., extension?) to communicate Test Scores to the LMS?
    I already have the test questions programmed, and am currently storing the test
    score in a form variable. Is it just a matter of finding some code that will do
    an LMSSetValue and pass the test score to the LMS?

    Some code samples would be appreciated and/or if you could point me to an
    extension to do this.

    Do I still need to accumulate test scores in a form variable until I am ready
    to pass the score to the LMS? How do I do this?

    Thank you in advance!



    cdromman Guest

  2. Similar Questions and Discussions

    1. L5 SCORM FOR DW8
      I have created html pages in DW8 and put them into L5scorm but when I go to preview I can see the list of pager on the left pane but there no...
    2. SCORM Runtime Wrapper
      Hello, I have just downloaded this extension and I'm trying it for the first time. I am using this wrapper for multiple-page lessons. From what I...
    3. SCORM - API problem?
      I am attempting to implement SCORM. I have built a course and when I try to preview it, nothing appears. Status bar text says "error on page". If...
    4. FS SCORM help!
      I am trying to pass the variable, full_name, from flash to a JSP file using the POST method. The variable contents is captured using Flash...
    5. SCORM compliancy
      Hi Chelsey, I'm working on AICC at the moment, I'm afraid there isn't alot of info on using director with any LMSs, there is loads of info about the...
  3. #2

    Default Re: SCORM Runtime Wrapper Extension

    Hi cdromman, you need to set three values to report the score of a SCO:
    cmi.core.score.raw - the score of your test
    cmi.core.score.min - the minimum score of your test (most people set this to 0)
    cmi.core.score.max - the maximum score of your test

    You set these values using LMSSetValue. Our
    [url]http://www.e-learningconsulting.com/products/index.html[/url] comes with source code
    that sets scores and other SCORM data items.

    You do not need to keep your score in a form variable. You can use a
    JavaScript variable to hold the score.

    leo_lucas Guest

  4. #3

    Default Re: SCORM Runtime Wrapper Extension

    leo_lucas,

    Thanks for the info. I thought JavaScript variables were not persistent
    between html pages??? For example, if I have a 20-question test (one question
    per html page=20 html pages), I need to accumulate the running test score as
    the student answers each question and navigates to the next html page. The only
    way I know of doing that is in a form variable. Let me know if I am missing
    something here ...

    Thanks again.



    cdromman Guest

  5. #4

    Default Re: SCORM Runtime Wrapper Extension

    oops, forgot to ask another question:

    When I use the SCORM Runtime Wrapper extension in Dreamweaver MX, I can see
    where it inserts some onLoad code to do this:

    mm_adl_API.LMSSetValue("cmi.core.lesson_status", "incomplete");

    which obviously starts the course in the LMS. What I cannot figure out is HOW
    this mm_adl_API.LMSSetValue actually executes the LMSSetValue function. Where
    is the JavaScript code that contains this LMSSetValue (and other) functions?

    Thanks in advance.



    cdromman Guest

  6. #5

    Default Re: SCORM Runtime Wrapper Extension

    Hi cdromman, you are correct, JavaScript variables do not persist across page
    loads. You have two choices:
    1. Use a frameset to contain your content pages. You can persist variables in
    your frameset. Our toolkit uses this method.
    2. Store the data for each page in cmi.suspend_data, a SCORM variable used to
    manage state. This method works fine but is trickier to implement. We have a
    set of JavaScript functions to make this method work.

    An SCORM-based LMS launches each SCO (the thing that you are creating). The
    LMS can launch your SCO is a frameset (most LMS's do this) or can launch yor
    SCO in a popup window. The LMS provides a JavaScript object named API. This API
    object contains several functions including LMSGetValue(). The
    mm_adl_API.LMSSetValue(...) is calling this function.

    leo_lucas Guest

  7. #6

    Default Re: SCORM Runtime Wrapper Extension

    leo_lucas,

    Seems to me I still need to two things:

    1. Include one (or more) <SCRIPT ....> tags in my JavaScript so that my .html
    file will "FIND" these API functions.
    2. Add the .js file(s) themselves to the root(?) folder of my WBT.

    Simply using the Dreamweaver SCORM Runtime Wrapper Extension only added the
    code that calls the functions ... I don't see where it actually added the .js
    files containing those functions.

    Am I right here?

    Thank you.

    cdromman Guest

  8. #7

    Default Re: SCORM Runtime Wrapper Extension

    Hi cdromman, to see the SCORM code work, you need to launch your SCO from a
    Learning Management System (LMS). The LMS provides the frameset that launches
    your SCO and the JavaScript code for your SCO to call. ADL (adlnet.org)
    provides a test suite that acts like a LMS. We have a developers tool called
    [url]http://www.e-learningconsulting.com/products/learning-management-system.html[/url]
    that some people use for testing as well as live deployments of their courses.

    leo_lucas Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139