Course ID required

If you use a flat file to enroll students in a course, the file will identify each course by its ID number. The example we used earlier was as follows:

add, student, 007, EM102 

This ID can consist of any alphanumeric characters, not just digits, and be up to 100 characters in length. In the Edit course settings page, you can see that CourseID number is an optional field:

In the Moodle database, you will find the CourseID number in the mdl_course table in the idnumber field:

If you want to use a flat file to mass-enroll a ...

Get Moodle 3 E-Learning Course Development - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.