Forum Discussion
NiallBanaghan
4 years agoCommunity Member
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...
MariaCS
4 years agoStaff
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):
![DevTools - cloud.scorm.comcontentcoursesTG50YZACJ0CustomxAPI1ca510361-990f-4e23-a118-fc6bda01115f0index_lms.htmlactor={name[Maria Costa-Stienstra],account[{accountServiceHomePagecloud.scorm.com,accountNameTG50YZ 2022-05-13 at 12.04.38 PM](https://p-bofbbg.b4.n0.cdn.getcloudapp.com/items/DOu4bLP9/fc824ac8-0897-4860-9e11-de2fb0378cfc.jpg?source=viewer&v=cabc35bfb061c73a38bc7ffdbe7246f9)
![DevTools - cloud.scorm.comcontentcoursesTG50YZACJ0CustomxAPI1ca510361-990f-4e23-a118-fc6bda01115f0index_lms.htmlactor={name[Maria Costa-Stienstra],account[{accountServiceHomePagecloud.scorm.com,accountNameTG50YZ 2022-05-13 at 12.07.25 PM](https://p-bofbbg.b4.n0.cdn.getcloudapp.com/items/RBungbR8/a8757bd5-d390-481c-92d8-7493a736522f.jpg?v=aa9fdf6a158b1a512b6d85ad49263216)
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!
- NiallBanaghan4 years agoCommunity Member
Works a charm, thanks Maria!
Related Content
- 4 months ago
- 6 months ago