The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Found this content helpful? Log in or sign up to leave a like!
I am attempting to create an QTI export feature in some php code I am working on. I would like it to be readable by the Canvas import feature. I pretty much reverse-engineered a file and get Canvas to read the ZIP file, but there are still a few bugs. It will read the question steps for MCQs, but not the possible answers. Does Canvas or the community have some example QTI files I could see or better yet the import code, so I could figure out where it's going wrong? Thanks.
Solved! Go to Solution.
The Question and Test Interoperability format is an IMS standard and is documented on their website. There is not a need to reverse engineer, although that is sometimes easier than reading the specs.
Canvas supports the QTI 1.2 and 2.1 specifications.
Asking someone for example QTI files is unlikely to get one that has the issues you're struggling with.
While writing your own code is always more fun, there is something to be said for using an already-existing library. I found one for PHP on GitHub called qti-sdk.
The Question and Test Interoperability format is an IMS standard and is documented on their website. There is not a need to reverse engineer, although that is sometimes easier than reading the specs.
Canvas supports the QTI 1.2 and 2.1 specifications.
Asking someone for example QTI files is unlikely to get one that has the issues you're struggling with.
While writing your own code is always more fun, there is something to be said for using an already-existing library. I found one for PHP on GitHub called qti-sdk.
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in