Totara Learn Open Discussions

Quiz Import File Examples

 
Sarah Kiley
Quiz Import File Examples
by Sarah Kiley - Wednesday, 15 April 2020, 12:47 PM
 

Hello. 


Does anyone have any examples of a quiz question import file that I could look at? We're trying to import a very large number of questions from an Excel spreadsheet-- I'm trying to see which format would be easiest to convert from the spreadsheet we have. I have a file in the Aiken format and that won't work for us, just trying to see what else is out there. 


Thanks,

Sarah 

Craig Eves
Re: Quiz Import File Examples
by Craig Eves (Totara Support) - Thursday, 16 April 2020, 8:43 PM
Group Totara

Hi Sarah

The Aiken format only allows the import of multi choice questions whereas the Gift format allows for a wider range of question types.

One way to check the format of the file is to export a quiz from Totara into the Gift format 

Doing this for a multi choice question called test  in course named cert course 3  with two choices Yes and No the format looks like

// question: 0  name: Switch category to $course$/cert course 3

$CATEGORY: $course$/cert course 3

// question: 11  name: test

::test::[html]<p>question?</p>{

=<p>yes</p>

~<p>no</p>

}

Regards