Importing questions from Moodle to WISEflow
Summary
Moodle questions must be exported as XML files from your Moodle course question bank.
In WISEflow, questions can be imported on the Author tab, in the content bank.
The following Moodle question types can be imported into WISEflow (AssessmentUCL):
Simple MCQ
True/false MCQ
Multiple answer MCQ
Short text answer
Long essay answer
The process of importing questions to WISEflow is error prone. You can also only import 20 questions at a time. The WISEflow project is working with the WISEflow team to improve this process and is also considering whether central resourcing can be provided to help Departments 'migrate' their questions.
Step 1: prepare questions for export from Moodle
You can export questions one by one or by category. To export multiple questions at once, either use your existing categories or create a new category, and copy or move the questions you want to export to this category.
Create a new category in your Question Bank. From your Moodle course, click More > Question Bank.
Select Categories from drop-down list.
Click add category and give it a useful name e.g. 'WISEflow'
Select Questions from drop-down list.
Find your questions. They might be a particular category, either for the course, topic or exam. Use the drop-down menu to search category and remember to click Apply filters to see questions from this category.
For the questions you want to export, click edit. You can either duplicate the question and apply the new 'WISEflow' category, or change the question category to the new 'WISEflow' category.
Step 2: export questions from Moodle
From your Moodle course, click More > Question Bank.
Select Export from drop-down list.
Select Moodle XML format.
Select the appropriate category (e.g. a purpose built WISEflow category or a previously used category).
Click Export questions to file.
Save your file.
Step 3: Import to WISEflow
Open WISEflow.
Click Author tab.
Click Content bank.
Click import content.
Select Moodle from the drop down menu.
Click select file and find the Moodle XML file you exported.
Check for any error messages.
Click Import.
Step 4: Check questions
Preview and tag your questions to ensure they have been copied successfully.
Some formatting might be lost in the importing of questions, so please check each question carefully. For example subscripts and superscript text may need to be reformatted.
Click import to approve them. They can now be added to FLOWmulti exam papers from the content bank.
Appendix
Dealing with import error messages.
You may encounter error messages such as follows
This is a result of WISEflow requiring XHTML formatting, including closed element tags e.g. <br/> is allowed but <br> is not. UCL has raised this with supplier to improve. For now the work around is as follows:
Use the Chrome browser as the error message on the import page should indicate the line of the XML file where the unclosed element is located.
Open the XML file in a text editing software of your choice (e.g. Notepad or VS Code)
Run a find and replace on the unclosed tag e.g. find '<br>' and replace it with nothing (i.e. to remove the <br> tag) or alternatively with <br/>.
Save the XML file
Import the XML file.
Repeat steps 2-5 until error messages are removed.
Formatting Moodle questions
Questions imported from Moodle will display with the standard MCQ formatting. You can reformat Moodle Questions to appear in the block style as follows:
Edit the question
Layout: Change from Standard to Block
Label type: Upper case letters
Need to speak to someone?
If you can't find the answer to your question in the guidance above, please contact digi-ed@ucl.ac.uk