Forum Discussion
Scorm expiration date.
Hi, do we have a feature similar to captivate where we can set an expiration date on scorms?
- AnnaOjalahti-0bCommunity Member
Hi, any updates on this? Is there a way to set an expiration date to a SCORM created in Articulate Rise or Storyline? I'm looking for a way to set the expiration to the SCORM file itself, not via any LMS or platform.
- NedimCommunity Member
SCORM does not have a built-in mechanism for setting an explicit course expiration date, but you can achieve this using JavaScript and custom variables within Storyline. There are several ways to set this up. I recommend reviewing Owen's post above or referring to the attached story file for my solution as a guide.
const expirationDate = new Date('2024-06-12').getTime(); const currentDate = new Date().getTime(); const timeDifference = expirationDate - currentDate; if (timeDifference > 0) { const daysRemaining = Math.ceil(timeDifference / (1000 * 60 * 60 * 24)); setVar('daysRemaining', daysRemaining); } else { setVar('courseExpired', true); }
Basically, the script calculates the remaining days until the expiration date and updates Storyline variables accordingly. If the expiration date is in the future, it sets the number of days remaining. If the expiration date has passed, it flags the course as expired with a True/False variable.
Triggers on the master slide:Result:
If needed, the code can be modified to lock or hide the menu based on the course expiration variable. If the course has expired, the menu can be hidden or its functionality can be disabled to prevent further interaction.
- AnnaOjalahti-0bCommunity Member
Thank you a lot Nedim for the thorough explanation! I will definitely try this. For some reason, I could not access the link Owen had posted above, which is why I posted a new question. Now I can access it, so I'll research that thread as well.
Am I correct, that this is not possible for Rise courses? Or could it be possible if I used a Storyline block with the JavaScript in the Rise course and set the Rise course's tracking to that block?
- ElizabethLuc654Community Member
Hi Any updates on this? We are also creating content for clients to export SCORM files to add to their LMS. It's important that we be able to limit the license on the content, so that they have to come back to us after, say, their year agreement is up, and re-pay, if they want to continue to use it. There is no other way to ensure we continue to get paid.
Also, I know that iSpring has this feature, so I'm not sure why Articulate wouldn't want to stay competitive on this one simple, yet potentially deal breaker thing. We are still vetting which tool to go with, and would prefer to go with Articulate, but this is a major concern.
- OwenHoltSuper Hero
You can do this in Storyline with JavaScript. I've set this up for multiple freelancers.
https://community.articulate.com/discussions/articulate-storyline/selling-elearning-to-client-with-lms#reply-824098
- AngelaGomez-e4dCommunity MemberAlso looking for an expiration date within SCORM files generated by Storyline...
Thanks for checking in, Garth!
No updates on such a feature just yet, but we'll be sure to keep you in the know. You'll be notified immediately on any new developments since you're now subscribed to this discussion!
- KieraMcAuliffeCommunity Member
hi Leslie, any updates on this? I think for some that sell access to courseware, but dont necessarily admin the intended LMS (let's say its a clients LMS) this is quite a nice feature from Adobe...
Hi Garth,
Not within the software, but you should be able to do so within your LMS.
We've heard a few requests for this and we do have a report that I can add this conversation to. This will also allow me to share any updates we may have in the future.
I wanted to share some information about how we manage these feature requests as that may be helpful.