Hi,
I'm currently developing an activity plugin in which I need to create a folder and file structure based on id's from the mdl_course_modules table. Is it possible to read the id of the newly added module instance from the mdl_course_modules table before inserting new record into the plugin table in the database?
I need to get exactly this value during the creation of you module instance:
https://................/mod/testplugin/view.php?id=68900
I will appreciate for any suggestions.
Warm regards
Paul