Forum Discussion
Capture text responses using built-in xapi functionality
Hi all,
Is there a way to capture text responses using the in-built xAPI triggers in SL360?
I know Devlin Peck has created awesome tutorials on achieving this using javascript but I wondered it there was a way using the available functionality in SL.
Thanks in advance
- MariaCSStaff
Hi, Niall.
Thank you for sharing the .story file!
I believe the issue is related to the id being blank on your statement, as I get an error when inspecting it (right-click>Inspect>Network>Fetch):
I recreated the trigger using the default id:
After re-publishing and uploading it to SCORM Cloud, I was able to receive the correct statement:
Let me know if this helps!
- NiallBanaghanCommunity Member
Works a charm, thanks Maria!
- MariaCSStaff
Hi, Niall.
Thank you for reaching out!
We have an article on using xAPI statements to send the value of a variable to the LMS. Take a look below:
I hope this helps!
- NiallBanaghanCommunity Member
Thanks for this, however, I'm testing in Scormcloud and cannot see it recording the entry. I have attached the simple test file below.