Forum Discussion

NiallBanaghan's avatar
NiallBanaghan
Community Member
3 years ago

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

  • 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

    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

    I recreated the trigger using the default id:

    Windows 10 (1) 2022-05-13 at 12.01.32 PM

    After re-publishing and uploading it to SCORM Cloud, I was able to receive the correct statement:

    SCORM Cloud 2022-05-13 at 12.01.50 PM

    Let me know if this helps!