Help passing Completion status
Jul 23, 2012
Hi everyone. I am hoping someone can help me out. Here is the situation, I have a course that does not contain a quiz but it does contain a lot of branching - some branches are required and some are optional.
I want to be able to report to the LMS that the user has completed all the required material but I don't want to use the "Track using the number of slides viewed option" because you cannot specify which slides.
I was wondering if you can use a results slide to trigger that the course is complete even if you are not using quiz questions. If this is, in fact possible, how would I set it up because I would not necessarily want it to display to the users.
The LMS is Plateau 6.3
Normal
0
false
false
false
oNotPromoteQF />
EN-CA
X-NONE
X-NONE
MicrosoftInternetExplorer4
Any ideas.
19 Replies
Hi, Nancy!
This suggestion by Aryln from the beta- http://community.articulate.com/forums/p/8930/64191.aspx - would it work for you?
(My apologies to those who weren't in the beta. The link won't work for you. We need to get the advice in a public thread or document.)
Howdy! Recently helped someone out in this arena. This is pretty easy to pull off by leveraging the code built-in to the Flash interface with story.html. I haven't investigated how this would translate to HTML5.
See these examples:
https://dl.dropbox.com/u/19820702/testMyLMSScore.story
This one is a published SCO:
https://dl.dropbox.com/u/19820702/testMyLMSScore.zip
This pushes a score and completion. You could run this trigger based on any number of conditions. Here's the JavaScript:
//let's grab the variable first -- here I'm just grabbing it from an entry field
var player=GetPlayer();
var totalScore=player.GetVar("scoreCustom");
//We're going to leverage the published output method to update status from Flash
//The delimiters need to be setup just like this to jam in the array
onBWEvent("BW_UpdateStatus","complete|~|"+totalScore+"|~|0|~|100|~|80|~|quiz");
//first argument is status: complete
//second argument is score
//third and fourth are min / max
//fifth is passing score
//sixth is type
The "fake results slide and single question method" works too. I like the idea of positive control over the submitted values and the elegance of a straight forward brute force JS method
Gerry - thanks so much this will do the trick. I remember I read something about this but could not for the life of me remember where.
Steve - This is a great suggestion as well. I might just use the fake screen for this one as I am in a time crunch and my client's LMS has some issues with JS.
Hi Steve,
I've experienced some issues with my completions not passing through to my LMS as I needed to remove the set status trigger from my results slide as it was causing issues with tracking the number of attempts.
I've have slightly modified your above script to set only the completion. It works OK in my testing, and I have not been able to break it, but I was wondering if you could cast an eye over it to ensure that everything is as it should be?
As I only needed to force the complete status, I have added the following JS only.
onBWEvent("BW_UpdateStatus","complete|~|");
I know this is a very old thread, but what if we wanted to pass three variables from a Storyline file:
e.g. varStage1Result, varStage2Result, varStage3Result (or even just the default Results1.ScorePoints, Results2.ScorePoints etc).
Just curious how you might go about this.
Hi Ray,
I'm not certain folks are subscribed here - but you may want to share a bit more information about where and how you're looking to pass the variables as Javascript is not something staff can assist with.
Hi Ray -
By design, SCORM is only able to capture one score and one completion per packaged module / SCO. This is a limitation of the specification -- the way LMS work and interoperate with content.
You might be able to insert scores as interaction variables but that would require bending of reporting features and use of Javascript. To capture 3 scores, you may want to publish three separate SCO's.
Hi Steve!
Thanks for the great information! Your code worked like a charm in SCORM! Do you happen to know what the onBWEvent JavaScript code would look like for AICC?
I ran your code in the SCORM Cloud after publishing my file in AICC and making the necessary adjustments to the Configuration.js file in the published LMS folder. The score was written correctly but the completion status did not seem to get overwritten.
Ray
By any chance you find out how to do that?
Hi Eleonora,
I'm not sure if Ray is still subscribed as this thread is a bit older, but you are welcome to reach out to him using the "contact me" button on his profile to see if he's able to share any other specifics with you on how he was able to accomplish this.
Unfortunately I am still unable to find the code for AICC. I continue to search for it periodically. If I locate it, I will post it here.
Thanks for popping in to share that here, Pawel! :)
Thanks for the code, Steve! Very cool!
Was searching for that solution for hours.
Glad that this thread was able to assist you Daniel :) Thanks for chiming in to share.
I know this is an older thread but I had to stop and say thanks to Steve. This worked perfectly for transferring a variable from a .story (without native quiz or results slides) to Moodle.
Thanks again!
No worries Jim - people always like thanks and appreciation!
Hi Jim - how did you transfer this variable? Can you expand a bit more please.
Hi Andy!
I'm not sure if Jim is still subscribed here, but hopefully he'll be able to pop back in and assist you here. You are certainly welcome to reach out to the user directly via the 'Contact Me' option on the user profile if you do not hear back soon.
It sounds like he may have been utilizing Steve's suggestion here.
This discussion is closed. You can start a new discussion or contact Articulate Support.