Forum Discussion
Storyline 360 will not send custom XAPI statement that contains a variable
- 2 months ago
For anyone who finds this, god bless your soul. Here is the answer:
Start with your standard "Send XAPI Statement" trigger, chose your verb, and choose an object. I chose the slide as the object. Make sure you give it an ID.
Here's the 2 lines of code that makes everything work:
},
"result": {
"response": "%TextEntry1%"
}
}Articulate you need to update your documentation. When you negelct absolutely essential information like this, you waste countless hours of people's time. 3 days in my case! Expect an invoice in the mail.
Full code:
{ "verb": { "id": "http://adlnet.gov/expapi/verbs/answered", "display": { "en-US": "Answered" } }, "object": { "objectType": "Activity", "definition": { "name": { "en-US": "%Project.SlideTitle%" } }, "id": "%Project.ActivityId%/%Slide.Id%/Q1RP" }, "result": { "response": "%TextEntry1%" } }
I attached my storyline file as well, it has some other crazy stuff it the javascript if you dare to dream.
For anyone who finds this, god bless your soul. Here is the answer:
Start with your standard "Send XAPI Statement" trigger, chose your verb, and choose an object. I chose the slide as the object. Make sure you give it an ID.
Here's the 2 lines of code that makes everything work:
},
"result": {
"response": "%TextEntry1%"
}
}
Articulate you need to update your documentation. When you negelct absolutely essential information like this, you waste countless hours of people's time. 3 days in my case! Expect an invoice in the mail.
Full code:
{
"verb": {
"id": "http://adlnet.gov/expapi/verbs/answered",
"display": {
"en-US": "Answered"
}
},
"object": {
"objectType": "Activity",
"definition": {
"name": {
"en-US": "%Project.SlideTitle%"
}
},
"id": "%Project.ActivityId%/%Slide.Id%/Q1RP"
},
"result": {
"response": "%TextEntry1%"
}
}
I attached my storyline file as well, it has some other crazy stuff it the javascript if you dare to dream.