Time based access to Storyline course
Apr 03, 2019
By
Mark Wiklund
I'm starting work on a Storyline course that has a requirement that it only be available during normal business hours, 9-5 EST. The reason is, a learner needs to be able to ask questions either during or immediately after the course; a support line would be standing by. There are many 'manual' solutions - proctored PCs, after hours support by pager, etc. But a technical solution would be far more elegant.
I'm not seeing a trigger or variable that enables time based access, and our LMS does not enable those controls.
I would welcome you suggestions.
7 Replies
Hi Mark,
There isn't a feature built-in to Storyline that would restrict access based on time, as access to the course is controlled by an LMS or wherever you're hosting it. Since your LMS doesn't have an option you could enable, there may be something you could set up using Javascript code, but I'll leave that to our community of experts to weigh in on!
Mark, if you are certain that the time on the computers used is correct, then there is Javascript code that would enable you to get the user's local computer time and allow or disallow the course to run based on that. This could be bypassed if the user changes the time on their local computer. Would that work for you?
Thanks Ashley. Your comment is spot on - see Michael's above
Thanks Michael - your idea sounds like a strong possibility. Unless you have such a snippet, I can investigate further from my end. The challenge however is we're trying to comply with OSHA training requirements, so given the issue of variable local time, I'm not sure this approach will fly.
Yes, I agree it's not a great solution. It is possible to grab the time from a third party server, running a script of some kind on that server. I will look into this in the next few days after I finish a few other things.
Hi Micheal - I want to follow up on your idea of using a java script within a Storyline to restrict access to a certain time frame. Is there a such a script that you are aware of that has worked? Otherwise, I will ask our developers to look into it. Thanks! Mark
This is still on my list, and I did start researching it. The method used would depend on the server where the time was being obtained. It looks like the php programming language could be used to accomplish this on the server.
This discussion is closed. You can start a new discussion or contact Articulate Support.