Master Complete (Possible with Javascript?)
Jun 21, 2016
By
Mike Clark
We are using Adobe Captivate Prime as our LMS, and at present - Adobe doesn't have the ability to manipulate Complete/Incomplete within its system.
We are brainstorming a way to make this possible. Heres how it would work:
- Learner completed a course prior to LMS launch
- Learner provides proof of course completion
- On slide 1 of module x, a learner completes a trigger (likely a key-combination code) that auto-completes the module and gives learner credit for completion
Is this possible to do with javascript or some other variable/trigger?
4 Replies
Hello,
Yes, you can set the status in your LMS with this JavaScript completion (as a trigger 'execute javaScript). like this;
SetStatus("completed")
If you want to send variable to your LMS, for example a score that would be in a Storyline Variable
// Get storyline variable
var player=GetPlayer();
var jsVar=player.GetVar("YOUR SCORE VARIABLE HERE");
//get LMS API
var lmsAPI = parent;
//set score; the jsVar is the score from the articulate variable
lmsAPI.SetScore(jsVar, 100, 0);
Thanks Jonathon,
Very much a novice when it comes to Javascript.
Found this on another thread, and it appears to work:
Does it look like it should function how I want?
This will set your course status in your LMS to 'passed' should work, me I used completed.
And it will set the score for this scours to 100. You don't really need to set the score to a fixed 100 for all user that will pass the course.
Hi, Mike -- Thanks for reaching out, and as JavaScript is not something for which we are able to offer support, I am glad to see that Jonathan has stopped in to lend a hand! As you mentioned you are novice with JS, I thoughtI might also stop in to share the following JavaScript Best Practices and Examples in case you find it helpful. :)
This discussion is closed. You can start a new discussion or contact Articulate Support.