Import groups
  • 01 Feb 2022
  • 1 minute to read

Import groups


Article Summary

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:

  1. Go to Course administration > Users > Groups from the Administration block while in a course. 
  2. Click Import group
  3. Browse to the desired file or drag and drop it into the upload area.
  4. 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). 

Next steps

© Copyright 2024 Totara Learning Solutions. All rights reserved. Some content originally obtained via GPLv3 license and continues to be available under GPLv3. All other content is the sole copyright of Totara Learning Solutions. 


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.