Pushing a result in Articulate Online
Jul 04, 2019
Hi,
I am using Storyline 2 and I am trying to push a custom score to Articulate Online, but it seems that Javascript is ignored. I find nothing on internet concerning Javascript and Articulate Online...
I created a quick test quiz just to see how Artiuclate Online would behave with Javascript, but nothing happens. I need help.
Here is the code I used on the first page of the quiz (execute javascript when timeline starts) :
var lmsAPI = parent;
lmsAPI.SetScore(90, 100, 0);
lmsAPI.SCORM_SetPassed();
alert("hello");
lmsAPI.CommitData();
It did nothing... so I tried something simplier instead, still on the first page of my quiz, just for another test :
alert("hello");
It did nothing again... Articulate Online behave like there is no Javascript at all.
Please help.
2 Replies
I would expect the alert to work. However I don't think Articulate Online uses the scorm API. I have not had any success pulling names and anything else this way.
Check the console
You are right, the alert works alone, but indeed, the LmsAPI functions are not recognized by Articulate Online. Does someone knows how to "talk" with Articulate Online via javascript? I don't find any documentation concerning this subject.
This discussion is closed. You can start a new discussion or contact Articulate Support.