Exporting New Quizzes as a Common Cartridge

The content in this blog is over six months old, and the comments are closed. For the most recent product updates and discussions, you're encouraged to explore newer posts from Instructure's Product Managers.

MPioRoda
Instructure Alumni
Instructure Alumni
8
2209

Exporting New Quizzes Using Common Cartridge was released to Beta on May 10, 2024 (see release notes).  We are looking to release to production environments on June 15, 2024. 

Workflow to export New Quizzes in a Common Cartridge package

To export a Canvas Course, click on Export Course Content from the Settings in Course Navigation and use Export Type: Course.  An export file is created.

When importing course content, select the Content Type: Common Cartridge 1.x Package or Canvas Course Export Package. Then click on Content: All Content.

To import existing quizzes as New Quizzes, select the checkbox in the Options section. If this option is not chosen, Classic Quizzes will import as Classic Quizzes and New Quizzes will import as New Quizzes.

Import ContentImport Content

When exporting a quiz that contains a question from an item bank, a file is created that contains all the questions in the item bank. If quizzes are using multiple item banks, each of those item banks will be included in the export. 

​​Images in quiz questions and in item banks are included in the export packages. (Note: currently HotSpot images are not imported because they are stored in Amazon S3 instead of the Canvas file system, however, it will be available around the time we release to production environments.

New Quizzes files in Common Cartridge packages

The work we have done around exporting New Quizzes relates to exporting a course as a Common Cartridge in Canvas.  While there will not be any user interface changes or changes to the workflow of exporting a common cartridge package, this work makes exporting more reliable because of the changes we made in the file format. Previously, New Quizzes were exported as a JSON object containing IDs referencing those quizzes, now the export package will export New Quizzes assignments and their associated objects, item banks and non-item bank questions, as QTI/XML files.

With the new export files, users will be able to use the export packages as backups for their data. If a user deletes their original quizzes for any reason, or they move to a different region, account, or LMS, their exports will remain intact.

File

Location and description

New Quizzes files

Each quiz has its own folder named with a unique identifier that contains two files: files: assessment_meta.xml and assessment_qti.xml

assessment_meta.xml

contains quiz information and settings

assessment_qti.xml

contains some quiz settings. It is used to create the quiz shell during import and creates a connection to the files that contain more data such as the imsmanifest.xml file.

NQ Item Banks

included in the non_cc_assessments folder, and be named with a unique identifier

New Quizzes questions that are not loaded from banks

included in the non_cc_assessments folder, and be named with a unique identifier

 

Here is an example of an export package:

Export Package FilesExport Package Files

In this example, we can see that there are two quizzes in the export file, each with their own assessment_meta.xml file and an assesment_qti.xml file.

From the non_cc_assessments folder, we can see that there are two item banks and two files with questions used in a quiz.

  • If a *.xml.qti has a folder with the same identifier in the name, it means the file contains questions used in the quiz including those that are associated with item banks.
  • If a *.xml.qti doesn’t have a folder with the same identifier in the name, it means it is an item bank file which contains all the questions in the item bank.

In the example above, the file that ends with 4ec42f.cml.qti, matches the quiz folder above that also ends in 4ec42f, so this file contains questions used in the quiz, including those that were pulled from an item bank.

The content in this blog is over six months old, and the comments are closed. For the most recent product updates and discussions, you're encouraged to explore newer posts from Instructure's Product Managers.

8 Comments
nburden
Community Explorer

It's great to see that there is progress happening with the export options for new quizzes, however, I have been trying to create an export of a course that uses new quizzes, from my beta instance, and so far have been unsuccessful.   The export bar appears onscreen, but never progresses.    I have tried multiple times, and left it a very long time, and it never completes.  Has anyone had success testing this yet?  Is there a specific setting I need to turn on?

MPioRoda
Instructure Alumni
Instructure Alumni
Author

HI @nburden ; could you contact Support so they can view what you're experiencing in your environment?

adamwarecx
Instructure
Instructure

Updating that this feature has been pushed back to 2024-06-15 Release.

andy_starr
Community Participant

It doesn't appear to have made the 2024-0615 release.... Can we get an update

 

andy_starr
Community Participant

Hi All,

 

Any idea when this feature will actually work.....  currently, it creates all the new quizzes with a value of 1pt, but there are no questions associated with the quiz.

 

Thanks,

 

Andy 

MikeKaiman2
Community Member

Hi!

I too am running into the same issue as Andy from July 3.  Are there any updates to this?  

 

Building off of that if one were to export with this feature, will there be the option to post to canvas commons instead?  Thanks!

 

--Mike

mzucal
Community Contributor

Hello,

I cannot get images to import with quiz questions when importing from a course in any of the options available.

Regards

Melissa

nburden
Community Explorer

The instructions say "To import existing quizzes as New Quizzes, select the checkbox in the Options section. If this option is not chosen, Classic Quizzes will import as Classic Quizzes and New Quizzes will import as New Quizzes."

In my own test, I had to select the checkbox even though my cartridge had new quizzes.  Otherwise, the quizzes were blank after import.