Get ReportQuizVars without the Export "Print" Function

Sep 07, 2023

We would like to make a .CSV export of the results of a storyline WBT. We've found the "print" function which opens the report.html and displays all values in a html table according to what is stored inside the variable "ReportQuizVars" (full variable is opener.DS.presentation.ReportQuizVars) . The data inside of that variable is very convenient and we would like to export its data into a .CSV file via javascript. 

The problem is, that this variable is not "filled" unless you use the "print" function. We would like to avoid using that print function because it opens a new tab with the reports.html. We would just like to be able to generate a .CSV at the end of the WBT via the execution of javascript.

Is there a way to trigger the "filling" of that variable without the "print" Button / Functionality, so that it can be used in javascript? Is the data that's inside stored somewhere else already which we could access instead? 

Since it is a Training with 80+ Questions, using custom variables for each question and writing + reading them out individually is a lot a work and would require adjustments each time a question is removed / added. That's why we would like to use the report from Articulate but without opening a new tab. 

1 Reply