Totara Learn Open Discussions

xAPI plugin not working in Totara 18.4

 
Liesbet Daelemans
xAPI plugin not working in Totara 18.4
de Liesbet Daelemans - Wednesday, 22 de May de 2024, 06:11
Grupo PartnersGrupo TXP Site Administrator

Hi,

Our client would like to test xAPI-compliant content in Totara. I found this information on Totara Help: https://totara.help/docs/en/configure-xapi-with-totara

But we have a problem: the Plugin xAPI Launch Link v1.63 doesn't work in T18.4. Is there anyone using xAPI? Which plugins do you use?

ERROR MESSAGE:
/mod/tincanlaunch/amd/src/launch.js cannot be loaded, or does not contain a javascript module in AMD format. "define()" not found.

Thank you!


Regards,
Liesbet

Craig Eves
Re: xAPI plugin not working in Totara 18.4
de Craig Eves (Totara Support) - Tuesday, 28 de May de 2024, 16:17
Grupo Totara

Hi Liesbet

Are you able to create a support ticket with details of the steps you have taken.

regards


Allan Groom
Re: xAPI plugin not working in Totara 18.4
de Allan Groom - Wednesday, 5 de June de 2024, 00:57
 

The javascript is in ESM format. Totara doesn't support it yet. It still uses the older AMD format.

Since Moodle 3.10 any new JavaScript intended for Moodle core must be written in the ESM format.

Stefan Blom
Re: xAPI plugin not working in Totara 18.4
de Stefan Blom - Tuesday, 25 de March de 2025, 09:24
Grupo PartnersGrupo TXP Site AdministratorGrupo V18 Program Complete

Hi Liesbet!

Did you get this to work (xAPI)? We have a client that needs us to implement xAPI for either Totara 18 or 19 so I would be very interested in any information about this.