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.
- RaymondMCommunity Member
Yes, I think an expiry date feature would be a good thing to have.
I work in Higher Education and can see the need to have the option of an expiry date, especially for Storyline e-learning packages that have been made available for download via iPad. Some packages shouldn't be available after a course has finished or a student has left the university/college.
No problem with LMS/VLEs are normally content/tools can be setup with access and end dates/times.
I'll look at the javascript method above and see if it works on the iPad.
- ChristineHendriFormer Staff
Welcome to E-Learning Heroes, Raymond!
That would be awesome, I agree. If you're able to find something, let us know.
I see this being a pretty great feature for companies or even schools, especially when they're on a specific schedule. For example, if a course is due on the 21st, say that grading takes place on the 25th, the course could expire at midnight on the 21st. In its place a new course would become available for the next subject and so on. Maybe even some sort of acknowledgment that the course has been completed, submitted and now the learner needs to proceed to the next subject (maybe with a link?). I don't know, I may be looking too far into this, but I really like the idea!
- AlanSharkeyCommunity Member
Thank you very much for that Garth, helped a lot and achieved what we were looking for. And I'm glad you like the idea and understand the practical uses of it, Raymond and Christine. It would be a very handy feature to have built into the program on future releases.
Thanks again for all the help.
- FrancoisKirstenCommunity Member
Thanks, Garth!
This works great for publishing to CD.
- YashaAfsharCommunity Member
Thanks Grath!
It's an innovative trick
- alphonsohendricCommunity Member
Great Garth
I have another problem that requires javascript (I think?) Can I send my story file to you to look at?
Not a programmer, but I know exactly what i want program to do
- ErinFoggCommunity Member
Hi Garth,
Thanks for providing this workaround!
I'm having trouble with the Java script you provided, it's not extracting the current date and variables are displaying "0" when I publish the content.
Can you please give me some advice?
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.