You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we use similar code to the gitsync quiz import to create quizzes from the STACK library?
Scenario: We copy a single category quiz context from a gitsync repository into the STACK library. The quiz contains only questions from the quiz context. We import the quiz into Moodle via a button in the library. We can then export the quiz back to the gitsync repo if it gets updated.
Attempting quizzes with questions from multiple categories/contexts would almost certainly lead to complex code and insanity.
The filepaths in the quiz data file will not be correct. They will be top/category/file-name.xml. We just need the file-name.
We will probably need the gitsync category file to make this work.
All the questions will need to be imported as part of the quiz import. Is this through a single call to Moodle or multiple? Maybe single makes most sense as otherwise we have to retain a link between files and questionbankentryids on the front end for final quiz import call. This affects Feature: Import folders of questions from STACK question library #1357.
Multiple quizzes using the same questions will each need to import the questions and use separate copies.
Look into subcategories in questions.
The text was updated successfully, but these errors were encountered:
Can we use similar code to the gitsync quiz import to create quizzes from the STACK library?
Scenario: We copy a single category quiz context from a gitsync repository into the STACK library. The quiz contains only questions from the quiz context. We import the quiz into Moodle via a button in the library. We can then export the quiz back to the gitsync repo if it gets updated.
The text was updated successfully, but these errors were encountered: