Flat file: Difference between revisions
(tidy) |
Helen Foster (talk | contribs) (Enrolment template, removing 1.9 screenshots and old discussion links) |
||
Line 1: | Line 1: | ||
{{Enrolment}} | |||
Location: Flat file edit settings link in ''Site administration > Plugins > Enrolments > Manage enrol plugins'' | Location: Flat file edit settings link in ''Site administration > Plugins > Enrolments > Manage enrol plugins'' | ||
Line 6: | Line 7: | ||
==Options== | ==Options== | ||
The site administrator should edit the settings for a flat file if it is enabled. | The site administrator should edit the settings for a flat file if it is enabled. | ||
[[Image:EnrolSettngsFlatFile 2.0.png]] | [[Image:EnrolSettngsFlatFile 2.0.png]] | ||
You should specify an absolute path for the upload file (eg /var/moodledata/enrolments.txt) where it can be read and modified by the webserver process. | |||
You can choose to have an email sent to notify the Administrator, Teachers and/or students when the file has been processed. | You can choose to have an email sent to notify the Administrator, Teachers and/or students when the file has been processed. | ||
Line 20: | Line 17: | ||
The file should be structured with the action, role, user id, and course ID number. Optionally a start time and end time can be added as additional fields. | The file should be structured with the action, role, user id, and course ID number. Optionally a start time and end time can be added as additional fields. | ||
==See also== | |||
*[[Upload users]] | *[[Upload users]] | ||
*[[Bulk user actions]] how to download site user information (including userIDs) | *[[Bulk user actions]] how to download site user information (including userIDs) | ||
Using Moodle forum discussions: | Using Moodle forum discussions: | ||
*[http://moodle.org/mod/forum/discuss.php?d=144997 Flat file enrolments - how is this typically used by organisations?] | *[http://moodle.org/mod/forum/discuss.php?d=144997 Flat file enrolments - how is this typically used by organisations?] | ||
[[fr:Inscription par fichier plat]] | [[fr:Inscription par fichier plat]] |
Revision as of 13:02, 3 October 2011
Location: Flat file edit settings link in Site administration > Plugins > Enrolments > Manage enrol plugins
A flat file allows bulk enrolment management (enrol or unenrol) of existing users in existing course. The file is read one time by Moodle then erased. The file is located in the moodle file structure as a text file and Cron provides the timing when it is read.
Options
The site administrator should edit the settings for a flat file if it is enabled.
File:EnrolSettngsFlatFile 2.0.png
You should specify an absolute path for the upload file (eg /var/moodledata/enrolments.txt) where it can be read and modified by the webserver process.
You can choose to have an email sent to notify the Administrator, Teachers and/or students when the file has been processed.
Flat file structure
The file should be structured with the action, role, user id, and course ID number. Optionally a start time and end time can be added as additional fields.
See also
- Upload users
- Bulk user actions how to download site user information (including userIDs)
Using Moodle forum discussions: