Send Completion Status Now

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".

5 Replies
Russell Engoran

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);