xAPI on TalentLMS not showing complete


We use TalentLMS as our LMS. It works no problem with SCORM but we decided to try out using xAPI but the completion doesn't seem to register. I've asked over on their side and after some digging around the response they gave was this:

"The problem is that your package does not send the unit_id GET parameter, because it gets striped out by the js code in the <span class="il">xAPI</span> zip.

The bug lies in file tincanfunctions.js, line 697, the unit_id parameter is striped out because it is read as integer and not as string."

I've already submitted a support ticket with Trivantis on this but my last three emails asking for an update weren't replied to.

Currently using Lectora 18.1.4.


  • bparker2032
    bparker2032 Community Member Posts: 15
    Support is aware of this issue and we will be looking into it further early next week. Thanks for providing the information as to where the problem resides.
  • Hi,

    I've modified and attached the tincanfunctions.js file so that it will now work with TalentLMS. Note I had to upload as .txt file just rename to .js after downloading.

    To avoid having to replace in your publish content each time I recommend replacing it in the Lectora Install folder. Normally found "C:\Program Files (x86)\Trivantis\Lectora Inspire 18\Support Files"

    The fix will be included in the next release.

    Thank you for your input.
  • hi1182
    hi1182 Community Member Posts: 3

    Thank you so much. That definitely did the trick.