Hi there, I am beginner in moodle development. I am in a need to develop a plugin that could import bulk questions to use in a quiz generated from H5P interactive content plugin. I basically want something that would take excel files or xml files parse it and populate the database with questions.
I am trying to figure out the database schema by looking into the HVP tables. There is a field JSON_CONTENT in PREFIX_HVP table which stores the questions as JSON.
For trying out I created a quiz from GUI and added only one question. Later I added more questions in the JSON_CONTENT field by editing the json.
Now i am trying to figure out how do I make this questions belong to the quiz I created earlier. Which table connects the questions and the H5P-Interactive content plugin generated quizzes.
Any guidance to the right direction would be highly appreciated.