Functions for SCORM 2004 3rd edition
Dec 12, 2014
Hi!,
We've developed a course in Storyline which has a personalized javascript to calculate the partial progress of the user.
In this javascript we use the following functions:
- lmsAPI.GetComments()
- lmsAPI.WriteComment
- lmsAPI.SetScore
- lmsAPI.GetScore
- GetPlayer
- SetStatus
The problem is that if we publish with SCORM 1.2, the javascript works, but if we publish with SCORM 2004 3rd edition, it doesn't work.
The question is, these functions are not valid in SCORM 2004 3rd edition?, have they changed?
We must publish with SCORM 2004 3rd edition, because with SCORM 1.2 the option Resume, doesn't work properly.
Thanks!
4 Replies
Hi Irene,
We don't support Javascript elements, but you may want to look at the SCORM 2004 logs to see what appears and help you determine if those elements are included in SCORM 2004. Also, you may want to look at testing this at SCORM Cloud, the industry standard for SCORM content.
HI Irene...
Did you solved this?... Could you let me know which functions worked for you?.
Thanks in advance.
Hello Alexander - This thread is a bit dated and I'm not sure if Irene is still subscribed here. You are welcome to reach out to the user directly via the 'Contact Me' option on the user profile if you wish. Otherwise, hopefully someone in the community will be able to pop in and assist.
It depends on which version of Storyline you are using. If you use the latest version, Storyline 360, then you might try the following Javascript code:
SCORM 1.2:
SCORM 2004:
I've tested both script on SCORM Cloud and they are working as expected.
This discussion is closed. You can start a new discussion or contact Articulate Support.