Assign a Moodle learning plan to one person or import a group from CSV

ShareWhatsAppLinkedInFacebook
Playing this video connects to YouTube. Watch the full video on YouTube.

Chloe starts today. Lucas and Olivia join next week. All three already have Moodle accounts and need the same induction plan. You can assign Chloe from the participants screen and prepare the other two assignments in a CSV. With Learning Plans, both methods leave a row that the manager can check in the same list.

Start with one assignment you can see

Sign in with an account that can manage plans. Open Site administration → Courses → Learning Plans. In the induction plan’s row, choose Actions → Manage users and check the plan name at the top. Select Add, look up Chloe’s account and check the match before choosing the Student role. Save and find her name and role in the participant list.

This first row gives you a sample of the result to expect from the import. Each person has one membership per plan. If someone still needs a Moodle account, follow your site’s account creation process before preparing their plan assignment.

Prepare the file for Lucas and Olivia

Save the file as UTF-8. Version 1.2.0 accepts up to 1,000 data rows and a file of up to 2 MiB. Keep the six headers in the order shown. The last column is empty because this example doesn’t assign a group. Replace the usernames and the plan short name with values that exist on your installation.

email,firstname,lastname,username,learning_plan_short_name,group
lucas@example.invalid,Lucas,Reed,lucas.reed,NORTHSTAR-INDUCTION,
olivia@example.invalid,Olivia,Shaw,olivia.shaw,NORTHSTAR-INDUCTION,

The importer finds each account by username and the plan by learning_plan_short_name. The email and personal names in the CSV do not update the person’s profile. If you need a group, make sure it already exists in the relevant courses. The effective role comes from the manual enrolment settings.

Match the preview to the participant list

  1. In the catalogue, expand the CSV assignment upload. Choose your file and open the assignment preview.
  2. Read the username, plan, group and role for each row. Two plans with similar display names are a good reason to pause and compare their short names. Correct any errors in the file and upload it again.
  3. Confirm the valid preview. In this example Moodle processes two rows. Reopen Manage users and check that Lucas and Olivia appear with the expected role alongside Chloe. You now have a participant list you can hand to the person running induction.
Scroll to Top