Forum Discussion

María-YaelSilva's avatar
María-YaelSilva
Community Member
11 years ago

Exit Course buttom in Windows

Hi everyone, i have a big problem. I set a button to exit the course, but I can not make it work on Windows. When I upload in Moodle and pressed the "exit" is displayed the following "The content has ended. You may close this window". does not close the popup screen

Anyone know how to configure it to run on Windows?

Thank you very much!

  • Do we have any update on this? Are there plans to simply choose how to close a course when publishing a SCORM file? Adding a drop-down menu with items such as SCORM_RECOMMENDED and ALWAYS_CLOSE_TOP would help greatly.

    The thing is that right now, you either have to edit each course's scormdriver file (which can be tedious), or edit Storyline's own configuration file... which resets everytime there's an update, not to mention that people may not have admit rights to edit that file. If you are given a laptop for instance, you can't do whatever you wish :S

    • JoseTansengco's avatar
      JoseTansengco
      Staff

      Hi Jean-Christophe,

      We don't have any new updates to share on this topic, but your suggestion to include a drop-down menu to change the exit behavior sounds like a great idea. 

      I’ll be happy to pass your thoughts on to our product team, but you can also feel free to detail them more through a feature request!

  • The best way to solve this problem is to unzip your SCORM file (into a new folder to keep everything together), go to lms folder, open the scormdriver file in Notepad, scroll down to the var EXIT_BEHAVIOR part, swap it to ALWAYS_CLOSE_TOP, save the file and THEN re-zip the SCORM files into a new one.

    The reason why I used this is because some computers/machines don't have admin rights... and editing the main configuration.js file requires these. Given that Storyline uninstalls and re-installs itself for each update, that's the next best thing...

    Right now, the main issue is that you need to edit and save the Configuration javascript file, just to change one variable. That file is considered a source file, which requires admin access to edit (depending on your job if you have them or not), and it doesn't help that the file resets itself everytime there's an update. I don't see people calling tech support just to change one little variable.

    • ChrisBurkholder's avatar
      ChrisBurkholder
      Community Member

      Ashley,

      I am trying to make the popup window close as described above when closing a LMS project.  I found the solution to change the configuration file as stated in your link.  Is there a way to set a default in Storyline 2 so that the configuration: EXIT_BEHAVIOR = "ALWAYS_CLOSE_TOP".  This would save me a lot of time from having to change the configuration file on each LMS package I create.

       

      Thanks,

      Chris

  • Hi Chris,

    Unfortunately that is not something you can change as a default within Storyline, and you'd need to change it within the package each time as you mentioned (which as a reminder we can't offer support for modifications to the published output). 

    As far as making it a default though - you can always share your thoughts on that in the form of a feature request here! 

  • SarahNewsom's avatar
    SarahNewsom
    Community Member

    I am having a similar problem, but only intermittently.  In my LMS, in IE, when the user selects the close course option on the LMS Player, it opens a popup that says "The webpage you are viewing is trying to close the tab.  Do you want to close this tab?".  If my user says Yes, the LMS completely closes.  If my user says NO, it closes the course.  In Chrome, there is no popup.  I opened my configuration.js for a course that has this popup in IE and a course that does NOT have this popup in IE.  They both have var EXIT_BEHAVIOR = "SCORM_RECOMMENDED"; as their setting.  Why would the popup appear with one course and not the other?

    I changed the properties for the course that is giving the popup to "ALWAYS_CLOSE"; then to "ALWAYS_CLOSE_TOP"; and the course reacted the same way with the popup.  Thoughts?

  • Hi Sarah,

    Thanks for reaching out and letting us know what you are experiencing in your course.

    It sounds like you've already reviewed our documentation here.

    I'm curious if you experience the same issue when uploading the content to SCORM Cloud or if this issue is limited to your LMS?

  • The problem I see is that you need to edit a software file. Depending on if you have admin rights on your work station, that might or might not be possible.

  • DebsChurcher's avatar
    DebsChurcher
    Community Member

    I don't suppose there is any update on this?  I have the same issue and despite changing it in my configuration.js (software file) - when I then publish, this is ignored and reset to 'SCORM_RECOMMENDED'.  I then have to change it in the scormdriver.js after publish before zipping and uploading.  What is the point of having a configuration setting if you're unable to change it - am I doing something wrong?  Hopefully someone can help :)