Forum Discussion
JoanaEncarnacao
4 years agoCommunity Member
Setting an expiry date for published content in LMS
Dear All,
I would like to know if in the latest version of Storyline is possible to define an expiry date for published content? The goal is to make the content available in a client's LMS and, a...
DragoIvanov
3 years agoCommunity Member
I am searching for a similar solution and I found threads dating back to 2012. There is still no easy way out of this one for developers. I think the Articulate team should address this after all this time.
Has anyone found a simple solution to this?
I used the following script:
<script>
var myToday = new Date();
var myExpire = new Date("2022-08-18 0:00:00"); //the date the content should expire
if(myToday > myExpire)
{
alert("Course expired on: " + myExpire + "\n" + "Today is: " + myToday + "\n" + "*****");
window.close();
}
It works if the course content is displayed in a popup, but fails in other cases, such as embedded...