Storyline: Exit Course Trigger Doesn't Work

Article Last Updated

This article applies to:

When you use the exit course trigger, you may find that it doesn't work as expected in your published course. Here are some reasons and solutions.

Browser Security

Security restrictions in some modern web browsers prevent windows from closing themselves, so the exit trigger won't always close the browser window. However, it will work if the course is launched in a separate browser tab or window. Configure your Storyline player to launch in a new window. Here's how:

  1. Go to the Home tab on the ribbon and click Player.
  2. Click Other on the ribbon.
  3. Mark the box to Launch player in new window (creates launch page).
  4. Click OK, then republish your course.

Open Web Links in New Browser Tabs

If you don't use Storyline's "launch player in new window" feature (above), you can still set your web links to open in a new browser tab or window. To do so, add the target attribute to your HTML hyperlinks. Here's an example:

<a href="" target="_blank">Link</a>

By opening your web links in a new tab or window, you'll avoid browser security restrictions that could prevent the exit trigger from working properly.

Courses Are Stored on Your Local Computer

When publishing for Web or LMS, be sure to upload the published output to a server for proper testing. Viewing courses on your local hard drive can cause some features to fail.

Learning Management Systems

When publishing for LMS, be sure to test your content in your LMS. If you view a course that was published for LMS on your local hard drive, the exit trigger won't work. If it still doesn't work after uploading the course to your LMS, try this:

  1. Depending on your versions of Storyline and Windows, find the scormdriver.js file in the following directory. Then proceed to the next step.

    Storyline 360

    32-bit Windows:

    C:\Program Files\Articulate\360\Storyline\Content\lms

    64-bit Windows:

    C:\Program Files (x86)\Articulate\360\Storyline\Content\lms

    Note: If you changed the default installation directory, look for Articulate\360\Storyline\Content\lms in your custom install folder.

    Storyline 3

    32-bit Windows:

    C:\Program Files\Articulate\Storyline 3\Content\lms

    64-bit Windows:

    C:\Program Files (x86)\Articulate\Storyline 3\Content\lms

  2. Open the scormdriver.js file in a text editor, such as Notepad.
  3. Find this line of text: var EXIT_BEHAVIOR = "SCORM_RECOMMENDED";
  4. And change it to: var EXIT_BEHAVIOR = "ALWAYS_CLOSE";
  5. Republish your course.

If it still doesn't work, try changing the line in step 4 to: var EXIT_BEHAVIOR = "ALWAYS_CLOSE_TOP";