Environment
- Product: Questionmark
- Versions: All versions
- User role required: Training Administrator
- Tools used: Microsoft Excel, Notepad (or another plain-text editor)
- File type: Comma-Separated Values (CSV)
Issue/Symptoms
A training administrator needs to add a large number of questions to Questionmark, for example when migrating questions from a previous training platform. Creating each question manually in the Questionmark interface is time-consuming.
Questionmark provides an import tool that lets administrators upload many questions at once from a single Comma-Separated Values (CSV) file. This article explains how to prepare the file, convert it to the correct format, and import it.
Cause
Not applicable. This article describes a standard procedure and does not address a system defect.
Resolution
Before you begin: review the import tool limitations
Review the following limitations before preparing your question list, so that the import tool can process your file without errors:
- No commas in questions or answers: The tool uses the comma ( , ) as a separator between fields. Any comma inside a question, answer, or feedback text is read as a field separator and breaks the line structure. Reword your content to avoid commas.
- No accented or special characters: The tool does not encode HyperText Markup Language (HTML) characters. Characters outside the standard English alphabet (for example, the French accents é, è, and à) may display incorrectly after import, appearing as "???" or "□□□" in the browser. Use only standard English characters.
- Questions only: Include only question content in the file. Do not include section titles, headings, or any other information that is not part of a question.
- One line per question: Do not leave blank lines or blank columns, and do not split a question over multiple lines. Each line in the file must contain exactly one complete question.
Procedure
- Download the Questionmark CSV importer template file from the Working with Questionmark CSV files help page. A free Questionmark account may be required to access this page.
Expected outcome: The template file is saved to your computer. - Open the template file in Microsoft Excel.
Expected outcome: The workbook opens and displays the Template Example and Question tabs. - Copy the blank question examples from the Template Example tab and paste them into the Question tab. Repeat this for each question you plan to import.
-
Fill in the Question tab with your own questions. Place each piece of information in its correct column: question type, question text, then each answer followed by its value and its feedback (reply). For example, a Multiple Choice (MC) question is entered on a single row as follows:
Question type Question Answer Value Reply Answer Value Reply Answer Value Reply Answer Value Reply MC Where in Canada is the Questionmark office? Edmonton 1 That is correct. Calgary 0 That is incorrect. Toronto 0 That is incorrect. Vancouver 0 That is incorrect. A value of 1 identifies the correct answer and a value of 0 identifies an incorrect answer.
- Save the Excel workbook.
Expected outcome: Your work is saved in Excel format and can be edited again later if needed. - Make sure the Question tab is selected, then convert the file to CSV format: select File > Export > Change File Type > CSV, then click Save As.
- A warning states that only the active sheet will be saved, because the CSV format supports a single tab. Click OK.
Expected outcome: A CSV file containing only the content of the Question tab is created. - Open the new CSV file in Notepad to review it. Windows regional settings can affect how Excel creates the CSV file, so always verify the content before importing it.
-
Correct the file so it meets the import tool limitations. Check for the following common issues:
- Lines that are not questions: Delete any line at the top of the file that does not contain a question, such as column headings copied from the template.
- Incorrect separator: If your Windows regional settings use the semicolon ( ; ) as the list separator (common with French-language settings), the fields will be separated by semicolons instead of commas. Press Ctrl+H to open Replace, enter ; in the Find what field and , in the Replace with field, then click Replace All.
Expected outcome: Each line contains one question with its fields separated by commas, as in the following example:
MC,Where in Canada is the Questionmark office?,Edmonton,1,That is correct.,Calgary,0,That is incorrect.,Toronto,0,That is incorrect.,Vancouver,0,That is incorrect.
- Save the CSV file in Notepad.
- Log in to your Questionmark environment as a Training Administrator, then navigate to Authoring > Topics.
- In the tree view on the left, select the folder into which you want to import the questions. Right-click the same folder and select Import 3rd party questions.
- Click Upload file, browse to your CSV file, and upload it.
Expected outcome: A progress bar appears and the questions are imported into the selected folder. - If the import fails, note the line number reported by the tool. All questions on the lines before that number were imported successfully. Delete those lines from your CSV file, correct the line that caused the error, and repeat steps 12 and 13 with the updated file.
Expected outcome: The remaining questions are imported without creating duplicates of the questions already imported.
Additional Information
- Preventive Measure: Keep your original Excel workbook. If you need to correct content, edit the workbook and convert it again rather than editing the CSV file extensively in Notepad.
- Preventive Measure: After importing, open a few questions in Questionmark to confirm that the text, answers, values, and feedback display correctly.
- Known Limitation: The import tool does not support commas within content, characters outside the standard English alphabet, or questions spread over multiple lines.
- Validation Note: If your organization uses Questionmark for training that falls under a validated or regulated process, review imported questions according to your internal quality procedures before making them available to learners.
- Related Articles: Working with Questionmark CSV files
Comments
0 comments
Please sign in to leave a comment.