Feature requirements
- Instructor should be able to export the questions in excel sheet.
- The export questions button should be present on each module at the top. (Course or Topic)
- When instructor clicks on this button, it should download the excel sheet with all those questions.
- The main objective of this feature is to import this excel again using assessment’s import questions feature. This way, Instructor don’t need to create same question again and again.
Technical Flow
- Create the API that takes questionId as input and returns the minimized json (required for excel)
- Create the API in folderStructure that takes the locationId (not locationCourseId) and runs the loop over the locationQuestions → Makes the API request to above API → Stores the List of ExcelQuestions and finally returns it.
- In UI, now you have this questions list. You need to simply convert this JSON to excel and download it.
feature_exportQuestions includes:
- Button on each module in the Assessment Instructor Dashboard to export questions