ELIS 1.9 Manual

ELIS Data Hub

Using Template Courses

ELIS Data Hub enables the creation of courses using Moodle courses as templates. A course template is an existing Moodle course - this course will be automatically backed up (without user data) and restored into each course that calls it as a template. A common use for this functionality is automatic course rollover - when a site administrator wants to create copies of a previous semester's courses for faculty to use in a new semester.

There are 3 requirements for creating a Moodle course from a template course using ELIS Data Hub:
  1. An existing Moodle course must be on the site
  2. An ELIS course/class file
  3. Uploading and processing the file.

Creating an ELIS Course and Class


The first step is to setup the file to create a ELIS course, the file will link the new ELIS course to the Moodle course. The Moodle template course shortname is entered in the "link" column for the ELIS course.

The required fields for creating the ELIS course are:
  • action - Enter create.
  • context - Enter course.
  • name - Enter the name of the new ELIS course.
  • idnumber - Enter the idnumber of the new ELIS course.
  • link - Enter the shortname of the template course.

Next we setup the class row of the file. The ELIS class will be used to auto create the Moodle course. It uses the template course for the ELIS course it is an instance of to determine which course to auto create. The "autocreate" field for the ELIS class is used to create a Moodle course from the template course.

The required fields for creating the ELIS class and auto-creating the Moodle course are:
  • action - Enter create.
  • context - Enter class.
  • assignment - Enter the id number of the ELIS course this class is an instance of.
  • name - Enter na (not available) for the class name because the name is not an editable field for ELIS classes. The name will be a combination of the ELIS course name and the class id number.
  • idnumber - Enter the idnumber of the new ELIS class.
  • autocreate - Enter yes or no to auto create a new Moodle course.

The link column for the class row can be used to link the ELIS class to an existing Moodle course. The autocreate field should be set to "no" if you want to link to an existing Moodle course.

Be sure that the course is listed before the class in the file.

Example file that is creating a course, class, and Moodle course

This file will create a new ELIS course, ELIS class, and Moodle course. The ELIS class and auto-created Moodle course will be linked.