On This Page:
On the Groups page, instructors and TAs can create and edit groups of students manually, or use Moodle's automated tools to create groups and assign course members to groups.
To import groups already populated with students, see Upload or Download Groups from Moodle.
Note: To get the most out of Groups in Moodle, we recommend adding Groups to Groupings. For more information about Groupings, refer to Create Groupings in Moodle.
Open the Groups Page
To access the Groups page:
- In the menu bar at the top of your course page, select the Course Management button (gear icon ), and under User Links, click Groups. The Groups page will open.
- To create groups, you have three options:
- Create group creates a single group. See Create a single Group (below).
- Auto-create groups lets you set parameters to automatically create multiple groups, and have Moodle assign your students to the groups. See Auto-Create Groups (below).
- Import groups lets you upload a spreadsheet to create multiple empty groups. See Import Empty Groups (below).
Note: SPIRE section groups are automatically created for each SPIRE section in your Moodle course and will be noted with a tilde (~) in front of the group name. Do not alter these SPIRE section groups. The groups are updated from SPIRE and any changes you make will be lost.
- With the exception of Auto-created and SPIRE section groups, instructors must manually add students to the empty groups. See Add & Modify Group Members (below).
Create a Single Group
- On the Groups page, click Create group. The Create group page will open.
- For Group name, enter a name (required), and for Group description, enter a description (optional).
- Click Save changes to create the group. You will be returned to the Groups page where your new Group will be listed in the left column, with (0) indicating the number of students in the group.
- To add group members, see Add & Modify Group Members (below).
Add & Modify Group Members
- On the Groups page, under Groups (left column), click the group name. The group name will be highlighted, and the Members of... column (at right), will list any course members who have already been added to the group.
- Below the Members of... column (at right), click Add/remove users. The Add/remove users page will open.
(click to enlarge)
- On the Add/remove users page, the left column lists current group members and the right column lists potential group members.
(click to enlarge)
- To Add students to a group:
In the Potential members column (at right), click a Student name to highlight it.
• To select multiple members, hold down the CTRL (Win) or Command (Mac) key while you click.
• If you don't see the student names you're looking for, use the search bar at the bottom of the column.
Once you've selected the names you want to add, click Add to move the selected students into the group. The students' names will be added to the Group members list (at left) and will no longer appear on the Potential members list.
- To remove students from a group:
In the Group members column (at left), click student names, or to select multiple names, hold down the CTRL (Win) or Command (Mac) key while you click, then click Remove. The selected names will be removed from the group and returned to the Potential members column.
- When you are finished modifying the group members, click Back to groups.
The Auto-create groups function quickly assigns your students to multiple groups and includes the option to randomize group membership.
To use Auto-create groups:
- On the groups page, click Auto-create groups. The Auto-create groups page will open.
- For Naming scheme, enter the group name you would like to use for your groups. Moodle will automatically generate names based on what you enter.
- An "@" sign will generate a letter (e.g., "Group @" will generate Group A, Group B, Group C)
- A "#" sign will generate a number (e.g., "Group #" will generate Group 1, Group 2, Group 3)
- From the Auto create based on drop-down menu, choose how you want to divide your students:
- Number of groups will form groups based on the total number of groups you select
- Members per group will form groups based on the number of members you want in a group
- Use student names can be used if you are creating groups of one (for more, see Create One-Person Groups Named for Individual Students in Moodle).
- Under the Group members settings, from the Select members with role drop-down menu, choose whether to include only students or course members with other roles.
- From the Allocate members drop-down menu, select how you want group members to be assigned to groups. The default setting is Randomly. You can also sort alphabetically by First name, Last name, or ID number.
- (Optional) To create new groups within a Grouping (a group of groups, useful for assigning the same activity to multiple groups), under the Grouping settings, use the Grouping of auto-created groups drop-down menu. To create your groups within an existing grouping, select the name of that grouping, otherwise, select New grouping. If you do not want to put the new groups in a grouping, select No grouping the Grouping of auto-created groups drop-down menu. For more information about Groupings, refer to Create Groupings in Moodle.
Note: If you select Members per group, under the Group members settings, check Prevent last small group. If a remaining group is less than the size you set, Moodle will place these members into other groups (preventing a group of 1 student).
- Click Preview to see a preview of the groups at the bottom of the page. If you are satisfied, click Submit.
Import Empty Groups
Import groups allows you to create multiple groups at once by uploading a spreadsheet containing the names of the groups. While this can create multiple groups at once, all groups will be empty and you will need to manually add users. Alternatives:
- To create multiple groups and have Moodle automatically assign group members, see Auto-Create Groups (above).
- To import multiple groups already populated with students, see Upload or Download Groups From Moodle.
Prepare a list of groups for import
Before you can import groups, you must first prepare a text file containing a list of groups that you want to create. The group list must include the required fields for the import to be successful. The file must include "groupname" as a field, and can optionally include "description". The following steps explain this process using Microsoft Excel.
- Open Excel and create a new worksheet by clicking File > New Workbook.
- In cell A1 enter "groupname" (withou quotes, case sensitive).
- (Optional) In cell B1 enter "description" (without quotes, case sensitive).
- In the rows that follow, enter names (column A) and descriptions (column B) for each of the groups. Descriptions should be short with no commas.
- To save your file, click File > Save As. In the Format drop-down menu, change the file format to Comma Separated Values (.csv). Enter a name for your file, then click Save.
Create groups through import
- On the Groups page, click Import groups. The Import groups page will open.
- Click Choose a file. The File Picker pop-up window will open.
- In the File Picker pop-up window, click Upload a file. Then, click Choose File or Browse to select the CSV file from your computer. Once you select the file, the name will appear next to the Attachment box. Click Upload this file. The File Picker pop-up window will close and you will see the file listed on the Import groups page.
- Select the appropriate CSV delimiter from the drop-down menu. Comma (,) is the default.
- Select the appropriate Encoding option from the drop-down menu. UTF-8 is the default.
- Click Import groups. The import process will begin and a confirmation page will open.
- If your import is not successful, check your CSV file and ensure that the column headings are correct. Also, if you included group descriptions, considering shortening them and removing any commas.