Repopulating questions


If I save all of the data returned to me via xAPI, is it possible to "re-populate" a question at a later date so that the user can see what they submitted last time?  (I imagine if it is possible, I would have to add some query parameters to the h5p url?)


Thanks so much,


otacke's picture

Hi kreut!

Have you tried to activate the "save content state" option in the plugin settings? For many content types, this will save the current state of the content in regular intervals (+ "on check") and retrieve it when a user returns.

For some content types/use cases, it would also be feasible to use the alter_params hook or even the alter_scripts hook that are described in the developer documentation.