Parsing TinCan Statements

Jul 08, 2015

Hello,

This is my first time posting on the forum so I would like to first congratulate the team for building a great product.

I'm working on building some custom reports for courses published for TinCan using Articulate Storyline 2 or any other product. For doing this I need to parse the JSON statements that are sent to my LRS. The problem is that the statements that are coming from courses created with Storyline 2 seems to not meet the standards found here: https://github.com/adlnet/xAPI-SCORM-Profile/blob/master/xapi-scorm-profile.md

For example: context.contextActivities.parent, context.contextActivities.grouping, context.contextActivities.category should be arrays and not objects as sent by Storyline coures. Also, parent, grouping, category do not contain the activity type (objective, course, module, interaction). Would help me a lot to know the activity type when parsing the statements.

Because of this I have problems parsing JSON statements because other courses could send arrays for .parent, .grouping, .category and others may not. Please let me know if I'm missing something; maybe the courses were not published properly from Storyline, maybe I'm not sending the right parameters when launching the courses.

 

Thanks,

Cornel

1 Reply
Ashley Terwilliger-Pollard

Hi Cornel and welcome to the forums!

Are you using the latest update of Storyline 2? I know there was some issues previously with the set up where some Tin Can requests were not valid JSON, but I see that was fixed in the most recent update 5 of Storyline 2. You can download the update here and all the release notes of what was fixed/added is detailed here. 

If you are on the latest update and still having difficulty, would you be able to connect with our Support engineers so that we could take a look at what's happening? 

This discussion is closed. You can start a new discussion or contact Articulate Support.