Using SCORM Cloud without the popup window

This guide covers the main elements of making your course launchable from Bright and/or SCORM Cloud, without the use of a popup.

Warning - it is impossible to anticipate all of the possible course scenarios out there. In our testing the recipe contained herein works. But before you get too happy, make sure you test that your course does all of the following:

  • launches correctly from Bright.
  • returns to your Bright-enabled site on course exit correctly.
  • records its data correctly.

Warning #2 - You'll want to be careful about messing with course properties if you have created dispatch files for the course, because this will change how the course launches in the dispatched LMS. We're not saying it won't work, but we also aren't saying it will work. You'll have to test it.

Warning #3 - Just checking if you are still awake. Good. Let's get rid of some popups....

Once you've uploaded your course to SCORM Cloud, go to the course properties setting in SCORM Cloud. Specifically you'll want launch behaviour.

2016-11-29_1344

This is great, but with great power comes great responsibility. Now that course launches take over the browser tab that the user is in, they don't have any good way to get back to their website. Never fear, here are three ways you can do it:

This is probably the most seemless option, and is supported by most course production tools. Individual tools vary, but here a few examples:

  1. Add an exit module button to your UI; just a default “storyline trigger” – “Exit”.
  2. Export your course in SCORM 2004 version 4.
  3. Open up [unzip] your export, and find a file called Configuration.js
  4. Add the following to the end:
     // recipe courtesy of Aura Software: https://bright.aura-software.com
     var USE_2004_SUSPENDALL_NAVREQ = true;
     var EXIT_SUSPEND_IF_COMPLETED=false;
     var EXIT_NORMAL_IF_PASSED=true;
  1. rezip your package
  2. upload to SCORM Cloud
  3. Voila!

This blog post shows the status of the exit button for Articulate Rise.

The recipe for Articulate Storyline also works in Rise; although there is no Configuration.js, so you must edit the scormdriver.js file directly. Just make sure the following variables are set correctly :

     // recipe courtesy of Aura Software: https://bright.aura-software.com
     var USE_2004_SUSPENDALL_NAVREQ = true;
     var EXIT_SUSPEND_IF_COMPLETED=false;
     var EXIT_NORMAL_IF_PASSED=true;

right before the function definition:

    function GetQueryStringValue(strElement,strQueryString){var aryPairs;var foundValue;

Other than this, follow the recipe above for Articulate Storyline.

In Elucidat, you'll add a course exit button via Layout designer, then Choosing the 'Project scope'. Once in Project Scope, click in the header button bar.

2016-11-29_1357

Then add the Close Course Button.

2016-11-29_1358

Use the course publishing profile to configure the course exit functionality. Use SCORM Recommended

2016-11-29_1402

Maybe you have a SCORM package, without the backing project [happens all the time], and you can make changes.

You can use SCORM Cloud to add a course exit button for you, without modifying the course. Only caveat is you have limited control over the functionality of the button [like its title, for instance]. Also, there is no free lunch.

2016-11-29_1405

This will give you the following on top of your course:

2016-11-29_1408

While not beautiful, it is very effective!

If you use SCORM Cloud to provide a Back to LMS button, AND you have a course of SCORM 2004 Version 4, you will get additional buttons that will ask the user if they want to exit or suspend. To suppress this, use the following in the SCORM Cloud compatibility settings:

screen-shot-2016-11-28-at-2-30-12-pm

If your course production tool uses SCORM Driver, have a look in the generated package for a file called

./SCORMDriver/Configuration.js

You'll want the course to call the SCORM Driver ConcedeControl() function on course exit, like:

var EXIT_BEHAVIOR = SCORM_RECOMMENDED;        //used to control window closing behavior on call of ConcedeControl
                                                //Possible Values: SCORM_RECOMMENDED, ALWAYS_CLOSE, ALWAYS_CLOSE_TOP, NOTHING, REDIR_CONTENT_FRAME, LMS_SPECIFIED_REDIRECT

We also recommend you publish in SCORM 2004 version 4, and use the following settings as well:

     // recipe courtesy of Aura Software: https://bright.aura-software.com
     var USE_2004_SUSPENDALL_NAVREQ = true;
     var EXIT_SUSPEND_IF_COMPLETED=false;
     var EXIT_NORMAL_IF_PASSED=true;

You just need your exit button to do something like this onclick():

function niExit()
{
  window.parent.ConcedeControl();
}

This is definitely possible, but not recommended. You'll want to get the redirect URL that bright created out of the DOM, and once you've written the correct CMI/SCORM data back to SCORM Cloud, you can just set window.location.href back to this location. Contact us for more information, we'll help you figure it out.

Clear as mud? Give us a shout and we'll help you sort it out.

SCORM Cloud Running In An Iframe Adding an Exit or Close Button to Articulate Rise