Creating content that communicates with an LMS at intervals

Sep 12, 2014

Hello,

I am trying to create content that keeps in contact with the LMS so that it knows the content is still running.

The LMS times out after 30 mins.

Can this be done or does it need special coding?

Thank you,

Gary

5 Replies
Kevin Thorn

Hi Gary,

Not fully understanding the context of what you're trying to do. It seems that in order to maintain contact with your LMS, your learners will need to complete their task within 30 minutes. You may be able to contact your LMS Admin on increasing the timeout, however may need a business value for the increase.

"Content that keeps contact with the LMS" in any context will require some variable programming at minimum I suspect.

Steve Flowers

Hi Gary,

There are a couple of ways you could do this. The first example looks to see if you have lost your internet connection:

http://community.articulate.com/forums/p/54611/292584.aspx#292584

This next example checks to see if you're accessing the course from the LMS or not:

http://community.articulate.com/forums/p/54663/292883.aspx#292883

Using the second example, you could setup a simple loop on your master slide to check for the student name:

var player = GetPlayer();

if (typeof lmsAPI.GetStudentName == 'function') { 

 player.SetVar("inLMS","Yes");

 var studentName  = lmsAPI.GetStudentName();

 player.SetVar("studentName",studentName);

}else{

player.SetVar("inLMS","No");

player.SetVar("studentName","unknown");

}

Adding a listener to the studentName variable (When Variable Changes trigger) you could pop up a notification when the student name starts returning something wacky. Not sure what this will return when the LMS loses connection. Would need to test.

This discussion is closed. You can start a new discussion or contact Articulate Support.