Forum Discussion
Setting an expiry date for published content
I would also love to see expiration dates built into the software, as we sell our courses to people for use on their own LMSs. While it would be lovely to have everyone manage the expiration on their own LMS, it does not make practical business sense.
I was able to get Owen's code to work with a small tweak. I kept getting an infinite loop error and slides were taking forever to load with the code written as it is above. I added stop() at the very end of the javascript and it works perfectly now. The only other change I made was to add a 1 second delay for when the jump to the "expired" slide trigger happens, because I couldn't get the trigger priority to work for some reason. I didn't spend much time exploring that issue, as we actually preferred the look of it. It made the expiration effect a little more pronounced.
Thanks for the help!
- OwenHolt5 years agoSuper Hero
Glad you found it useful. 😎
- AmyLeelo4 years agoCommunity Member
Hi Owen - do you know you would hard code the variables as you mentioned above?
- OwenHolt4 years agoSuper Hero
Which variable do you wish to hard code? If it is the creation date, simply store a date value in a Storyline variable.
If you have a file you can share, I can help you troubleshoot it.