Lockout from course once completed
Aug 29, 2018
I am trying to create a feature that prevents users from accessing course content once it has been completed. We don't have the option of managing this through the LMS, so I'm trying to use Storyline to create what is basically a layer that sits over top of the page and prevents the users from being able to click on anything else, but I'm having trouble getting this layer to come up. I created the layer on the last page of course content, which users can't navigate away from. The layer is triggered with a True/False variable and is supposed to come up when the variable is true.
The idea is that I want users to see the last slide, exit, and when they come back into the course, they would see the "expired" layer telling them they have already completed the course. However, the layer never comes up when you re-enter the course even though it's set to always resume on the same page. Is the problem that Storyline can't track the variable between sessions? How else could I accomplish my desired outcome?
7 Replies
The varible value should get tracked between sessions. Is your trigger firing only when the variable changes? Maybe try also checking for the variable value when the timeline starts?
My only thought with the expiry based on a T/F variable is that if a user launches the course and opts not to resume where they left off, I think the variable might reset.
I agree, I think you need to force a resume for this to work. Another option would be to try to pull the course status from the LMS at the start of the course, but that would have to be tested.
I do have the course set to always resume, so the user is forced back to the same page. I've put the variable on the page so I can watch how it behaves, and when you close out of the course and go back in, the value reverts to False, so for some reason it's not retaining. I've tried both having the slide revert to initial state and resume saved state, and that doesn't seem to have any effect. If I set the variable to change when timeline starts, the layer would come up immediately, which is not quite what I want. I only want the layer to appear when a user re-enters the course.
A variable value is only saved when you change slides, you may need to add in a hidden slide that changes the variable and then jumps to your last slide
Thanks for that Phil.
I see what you're saying, and that makes sense, but I still think we'd run into a problem. If that variable changes to True on a previous slide, the Expired layer would trigger on the target slide even the first time a user visits that slide. I want them to be able to see it on the first visit but have the Expired layer come up when the course is relaunched. It may not be possible to get it to work the way I'm envisioning.
This discussion is closed. You can start a new discussion or contact Articulate Support.