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.
    • CommentAuthorWalt
    • CommentTimeApr 17th 2008
     
    My captivate bookmarking works fine with my Pathlore 6.5 LMS.
    When I run my Captivate project I can exit then reenter at the bookmarked slide. But what happens is when I finish a Captivate project the bookmarking stays at the last slide.
    So when I go to review the mastered/completed SCO I am sent to the last slide. If I have the Captivate project set to close automatically, when doing a review I am sent to the last slide and the project closes!

    I have researched this and found that Captivate does not use cmi.location but puts bookmarking in cmi.suspend_data.
    Here is a post from Andrew Chemey:
    "I can assure you (what you already know) that Captivate is using the
    suspend_data to store a lot of data, including the traditional bookmark data
    (even though it is sent in the lesson_location field). The lesson_location
    data is sent, but not used on relaunch, it is the first few characers of the
    suspend_data field." Here is a link to this post.
    http://www.koma-medien.de/elearning/forum/archive/index.php/t-718.html
    I also tried a gentelman named Totvos http://www.koma-medien.de/elearning/forum/showthread.php?t=4222 who wrote a Finish function but that did not work for me.

    What did work is if I use this code in Project>Preferences>Project End Options>Execute JavaScript g_objAPI.SetValue("cmi.suspend_data","A000001");
    This overwrites the suspend data and resets the bookmark (the letter "A" tells Captivate to start at slide 1) but it wipes out the rest of the suspend data.

    What I am looking for is when the Captivate project is Mastered/Completed the bookmarking is reset to the first slide everytime and the rest of the suspend data is kept in tack.

    Do other LMS's have bookmarking issues with Captivate in review mode?
    • CommentAuthorphilip
    • CommentTimeApr 17th 2008
     
    You can try a modified version of the code provided by Dalerich1 in the first link you provided. His code replaces the first character of the suspend_data -- the character used for bookmarking according to the other posts -- with the letter A.


    if(strFSArg1=="cmi.suspend_data"){
    strFSArg2 = "A" + strFSArg2.substring(1);
    }


    If you combine your code with his, it would look something like this:


    var data = g_objAPI.GetValue("cmi.suspend_data");
    data = "A" + data.substring(1);
    g_objAPI.SetValue("cmi.suspend_data",data);


    I haven't tried it, but the theory is sound. Give it a shot!

    If Captivate balks at using anything other than functions, you could also wrap the code in a function like so:


    //Place in HTML file or scorm_support.js
    function captivateCleanup(){
    var data = g_objAPI.GetValue("cmi.suspend_data");
    data = "A" + data.substring(1);
    g_objAPI.SetValue("cmi.suspend_data",data);
    }

    //Place in Captivate 'execute JavaScript' as before
    captivateCleanup();


    Let me know if it works for you. :smile:
    • CommentAuthorWalt
    • CommentTimeApr 18th 2008
     
    Succes! but with an issue...
    Placing this code
    var data = g_objAPI.GetValue("cmi.suspend_data");data = "A" + data.substring(1);g_objAPI.SetValue("cmi.suspend_data",data);
    in Project>Preferences>Project End Options>Execute JavaScript did just want I wanted it to do.
    A side effect of this is that in review the answers to the quizes are not displayed. I will need to do some traces to see why learners interactions are not being displayed or maybe not being read after this code executes?

    But the code you suggested was a complete success in that the bookmark starts at the first slide now. Captivate did not balk in using a variable.
    Thank you so much for the help.