Forum Discussion

BertCasaert's avatar
BertCasaert
Community Member
7 years ago

Storyline 360 - Reset 'restricted' menu on course restart (after quiz failure)

Hi,

We're using the 'restricted' menu feature for a storyline 360 course, which works fine the first time going through the course.

However, if a user fails the end quiz, we're sending the user back to the start of the course (&resetting the quiz), but we can't seem to find how to reset the menu again, so that the user can't immediately jump forward to the quiz again.

Is there a way to reset the progress made in a 'restricted' menu?

Thanks!

  • MegWry's avatar
    MegWry
    Community Member

    Hi, Looking for an update on this since its about a 4-5 year old thread, but I am still waiting for a workaround, as I do not want to lock slides completely. 

  • Hi, I am experiencing the same issue and would appreciate any advice to troubleshoot this. 

  • Nedim's avatar
    Nedim
    Community Member

    This is something I implemented a while ago. Attached is a simple example demonstrating JavaScript that resets the menu items to "restricted" after the learner clicks the Restart button on the Results slide. This prevents access to slides once the course is restarted.

    Two JavaScript codes are executed: one triggered by the "Restart Course" action and another on the master slide. Please test it in your environment and feel free to reposition elements as necessary (for example, executing JavaScript on the Failure layer of the Results slide).

    • Jamie-LeeRichar's avatar
      Jamie-LeeRichar
      Community Member

      Hi Nedim,

      I tried your JavaScript solution but it didn't restrict the menu after restarting the course. I'm not sure if I'm missing anything. I looked back at your storyline file and added the JavaScript on a button I created to restart the course.

       

      • Nedim's avatar
        Nedim
        Community Member

        Hi Jamie,

        I can’t really tell if you're missing something without seeing your file. In my post, I mentioned two JavaScript codes: one that executes on the last slide (from where you're restarting the course), and another that runs on each slide, but it's placed on a master slide. Could you confirm that you have both JavaScript codes/triggers executing as per my explanation?