- 05 Sep 2024
- 1 minute to read
Import groups
- Updated on 05 Sep 2024
- 1 minute to read
Instead of manually creating course groups, it may be quicker to import groups from a spreadsheet or text file. If you have exported groups from another site then these can be imported as a text file.
Follow these steps to import your groups:
- Go to Course administration > Users > Groups from the Administration block while in a course.
- Click Import group.
- Browse to the desired file or drag and drop it into the upload area.
- Click Import groups.
Import file
To import records you will need to construct a text file where the first line represents the fields to be imported (like column headings) and then each row is a new import record. You will need to use commas to separate the data, like columns. Below is an example of what the file might look like.
groupname,description,enrolmentkey
Group 1,The first group,group1
Group 2,The second group,group2
Only the groupname field is compulsory, while all other fields are optional (description, enrolmentkey, picture, and hidepicture).