Time for action – populating the fields
The data that will be stored in these fields will, in the case of most programs, exist in spreadsheets or other storage systems external to Moodle, so we will need to migrate the scores and program enrollment information into Moodle. This can be easily accomplished by using the Upload users function we visited earlier in Chapter 3, Student Account Creation and Enrollment. Follow these steps to prepare a CSV file and use it to populate the user profile fields:
Obtain a list of the users in your Moodle site in a spreadsheet format. While this can be accomplished in many different ways, the easiest for this example will be to use the CSV file we used in Chapter 3, Student Account Creation and Enrollment, to create new student accounts. The file is available from the Packt website at www.packtpub.com/support. In a production site environment, you could use the
Bulk user actions
function in Moodle found from the front page of your site in the Site Administration...