Setup and initial enrolments
1) Login as admin to your site
2) Open Site admin => Plugins => Enrolments => IMS Enterprise file
3) Ensure appropriate values have been set for:
- Basic settings => File location
- Basic settings => Log file output location
- User data options => Create user accounts for users not yet registered in Moodle (Set this to true/ticked)
- Roles => Learner = Student
- Roles => Instructor = Teacher
- Roles => Member = Student
- Course data options => Create new (hidden) courses if not found in Moodle (set to true/ticked)
- Course data options => Allow the IMS data to unenrol students/teachers (set to true/ticked)
Save Changes
4) Create IMS enterprise data file (in the location specified by settings) with contents:
USX28/Aug/2019USXUID000001UID000001IMS User01User01IMSUSXUID000002UID000002IMS User02User02IMSUSXUID000003UID000003IMS User03User03IMSUSXUID000004UID000004IMS User04User04IMSUSXUID000005UID000005IMS User05User05IMSUSXUSX_IMS_ENROL_COURSEIMS Enrol course
Blank
IMS studiesUSXUSX_IMS_ENROL_COURSEUSXUID0000011USXUID0000021USXUID0000031USXUID0000041USXUID0000051
5) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger processing of the file.
6) Review roles and enrolments for the newly cerated users to confirm that User01 is an instructor, and User02, User03, User04, User05 are students.
Un-enrol (Delete enrolment & roles)
===================================
1) Open Site admin => Plugins => Enrolments => IMS Enterprise file and set "Unenrol action" to "Delete enrolment & roles"
2) Create IMS enterprise data file (in the location specified by settings) with contents:
USX28/Aug/2019USXUSX_IMS_ENROL_COURSEUSXUID0000010
3) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger processing of the file.
4) Review roles and enrolments to confirm that no enrolment and roles appear for user, IMS User01.
No action (leave roles and enrolments unchanged)
================================================
1) Open Site admin => Plugins => Enrolments => IMS Enterprise file and set "Unenrol action" to "No Action"
2) Create IMS enterprise data file (in the location specified by settings) with contents:
USX28/Aug/2019USXUSX_IMS_ENROL_COURSEUSXUID0000020
3) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger processing of the file.
4) Review roles and enrolments to confirm that no chnages were made to roles or enrolment for IMS User02.
Un-enrol (Suspend enrolment only)
===================================
1) Open Site admin => Plugins => Enrolments => IMS Enterprise file and set "Unenrol action" to "Suspend enrolment only"
2) Create IMS enterprise data file (in the location specified by settings) with contents:
USX28/Aug/2019USXUSX_IMS_ENROL_COURSEUSXUID0000030
3) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger processing of the file.
4) Review roles and enrolments to confirm that the enrolment for user, IMS User03, is suspended but that their role however still exists.
Un-enrol (Suspend enrolment & remove roles)
===========================================
1) Open Site admin => Plugins => Enrolments => IMS Enterprise file and set "Unenrol action" to "Suspend enrolment & remove roles"
2) Create IMS enterprise data file (in the location specified by settings) with contents:
USX28/Aug/2019USXUSX_IMS_ENROL_COURSEUSXUID0000040
3) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger processing of the file.
4) Review roles and enrolments to confirm that the enrolment for user, IMS User04, is suspended and that their role has also been removed.
Un-enrol (Delete enrolment & roles) when recstatus and status clash
===================================================================
1) Open Site admin => Plugins => Enrolments => IMS Enterprise file and set "Unenrol action" to "Delete enrolment & roles"
2) Create IMS enterprise data file (in the location specified by settings) with contents:
USX28/Aug/2019USXUSX_IMS_ENROL_COURSEUSXUID0000051
3) Click the link "perform an IMS Enterprise import right now" at the foot of the IMS settings page to trigger processing of the file.
4) Review roles and enrolments to confirm that no enrolment and roles appear for user, IMS User05.