Send Completion Status Now
Oct 16, 2017
By
Willi Stolz
How can I, upon any valid trigger, send 'completed' status to the LMS? Say I've just used a trigger to evaluate whether 10 Yes/No variables are all "Yes" and found that they are. This means my leaner has completed all the activities I need her to complete. I can easily display a text box to indicate successful completion. I want also to send 'completed' status to the LMS. In the authoring tool I used prior to Storyline there was a standard response named "Send Completed to LMS". The trigger worked like this; on "Trigger X", "Send Completed to LMS".
3 Replies
Use an "Execute Javascript" trigger and paste the below. I think Matthew Bibby (on this forum) wrote it. Works great for me.
function findLMSAPI(win) {
if (win.hasOwnProperty("GetStudentID")) return win;
else if (win.parent == win) return null;
else return findLMSAPI(win.parent);
}
var lmsAPI = findLMSAPI(this);
lmsAPI.SetReachedEnd();
Thank you!
hi there, can someone show step by step or any link tutorial. Because I need to send the result/score to admin email
This discussion is closed. You can start a new discussion or contact Articulate Support.