Setting an expiry date for published content
Jan 30, 2013
By
Alan Sharkey
Hi there.
As the title says, I was wondering if there was any way to set an expiry date for published content, which would basically stop users from being able to view the content after a specific date? I've used this feature in KnowledgePresenter before but can't find such a thing anywhere in Storyline.
It would be very handy, as we are basically looking to put our course on disc to send out to people to trial them, but we don't want them having access to our courses beyond the trial period.
Thanks again for any support on this.
81 Replies
I'm doing this in JavaScript for Storyline courses. It works well without using any external resources.
Yes. I want to know this as well.
How to set a SCORM expiration date for a Rise course?
Would this allow a content creator to send a SCORM file course to a user without using a delivery system like SCORMCloud? Or would a savvy course purchaser be able to remove this if given a "raw" scorm file?
You could edit the javascript to remove the function
Hey Owen!
I am trying to implement this on my end, but cannot get the layers to display correctly. Would you mind taking a look at my file and seeing if I have made a mistake? I feel like I followed your template exactly, but cannot seem to get it to behave how I expect it to.
I really appreciate all your help!
Robert
Hi, Robert!
Owen might not be subscribed to this discussion, but you're welcome to contact them directly through their profile by clicking on their name and selecting Contact Me.
Your code is working fine. It looks like the problem is in the file's variables.
The start date variable is empty. It must have a default value or the JavaScript cannot calculate elapsed time. Add a value in the following format MM/DD/YYYY (for example: 03/01/2023).
Your Valid Days variable is also empty but must have a value. This is how long the course should be open in days. For example, you would use 365 for a 1 year course. Without this number, Storyline cannot compare the number of elapsed days against the number of allowed days.
Hi Owen,
I was able to follow the steps and it worked almost perfectly but I am able to see the Elapsed Days value in decimal. It would be a great help if I could be able to access the Template file however it isn't available in the resources anymore. Any chance you could share a downloadable template?
Regards.
Hello everyone, this was posted years ago but I can't seem to find solutions to this. Is there something that I am missing? I would appreciate a response or any support on this matter. I also would like yo be able to set an expiry date on SCORM files created in Rise. Thank you! :D
Owen has posted a storyline solution that could be added to rise with a continue block to lock it
I've done this multiple times in Storyline with JavaScript for clients and it works well. Connect with me on LinkedIn and I'll walk you through it.
Phil is correct that you can use this to [partially] expire a course in Rise. It isn't 100% because of the way progress bookmarking occurs in Rise but it will prevent NEW attendees from accessing an expired course.