Forum Discussion
Setting an expiry date for published content
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.
Hi Erin and welcome to Heroes!
I'm not sure if Garth is subscribed to this thread, but you may want to PM him just in case.
- GarthYorko-TECommunity Member
I'll be honest with you guys, I don't actually speak Java, I just found that code with a google search and by sheer brute force I got it to work.
If your varaibles are displaying 0, I think it means that the varialbe has not been adjusted, since those are the initial values.
Check to see that there is a trigger to run the script on the first page start. I've also noticed that sometimes Java script does not run unless it is on a server, so you may want to try it on a server and not your local drive.
Lastly, publish the file I uploaded and see if the behavoir is the same.
Sorry I couldn't be more help, maybe someone who speaks JAVA can help you out.
- MartinHernqvistCommunity Member
Here comes another one who very much would have liked to see this in Storyline. We will be producing contents for web, CD and IPAD (for online and offline viewing) and the contents will only be valid for one year at a time and should not be accessible after the end of the year. Access via web we may control - I guess it is delivery via CD and offline viewing in IPAD that will cause problems.
We are unfortunately no e-learning programming heroes :( and would have liked to see a built-in function in the Storyline software. Are there any news if/when this feature will be launched? I'll keep my fingers crossed for a positive response.
Hi Martin and welcome to Heroes!
I haven't heard of this becoming a feature, or even one that is talked about here in the forums as a feature request, but you're welcome to submit one. I would suggest the best method to restrict users from accessing your content past a pre-determined date would be to host within an LMS or web server where you could restrict their access to a course.
- MartinHernqvistCommunity Member
Many thanks for your quick answer Ashley. It is a good suggestion but we have many clients who will be using the material in remote places and sometimes on board ships where internet connection may be poor or non-existing. Hence the need for CD or offline IPAD solutions. I'll submit a feature request.
Any other suggestions, that non-programmers may understand and use, still welcomed of course.
- JayMetzgerCommunity Member
Ashley - I will definitely post it as a request, but I think this is something that you should definitely consider. We create courses for clients that host the courses on their own LMS. I do not have the ability to set the expiration date that way, so I need to be able to do it in the code. Lectora and Captivate both have this feature, and I am inclined to use these products until this is a feature for Storyline (although I would like to use Storyline more), as I cannot create a great product only to give it away forever because I can't expire it when a contract is up.
Hi Jay,
Thanks for sending in a feature request, and I can see where this feature would be used by a lot of users. There may be something you could include in a Javascript trigger at the beginning of the course to check the date - but I'm not equipped to help write those. There may be someone in the community who could assist.
- RaymondMCommunity Member
I've been working with Javascript more in Storyline and have also been programming date related events. If I get some spare time, I'll try and post up a solution.
- JohnPieterse2Community Member
Hi Ashley,
As we also deliver our software to remote areas I strongly agree with Jay and others that this feature would be very useful, if not essential. I love SL and use it a lot. But like Jay, I am forced to use Captivate if I want to set an expiry date. I already made this a feature request.
Thanks John for sending this in as a feature request, and I certainly understand the reasoning why this would be essential, so the more feature requests the better!