Upload courses

Upload courses

by Angel Simón -
Number of replies: 2

Hello everyone, I would like to know if it is possible when uploading courses using a CSV file if I can set in the same CSV file which ID Courses should every individual new course be restored.

Example:

shortname,fullname,category_idnumber,restoreID(?)
TEST1,Math,2,9

TEST2,English,2,10

So, Math would be automatically restored from course 9 and English from course 10.

Moodle version: 2.6.2+

Thanks in advance

Average of ratings: -
In reply to Angel Simón

Re: Upload courses

by Pieter van der Hijden -

Yes, it is possible (with a few restrictions):

  • Use "templatecourse" (for the short course name) instead of RestorID, see http://docs.moodle.org/26/en/Upload_courses 
  • Be prepared that not every characteristic of your templatecourse will be copied. Especially settings that can be set via the CSV file and/or the parameters on the Upload Courses screen, are NOT copied from your template course (example: enrolment methods). Also course summary files are not copied.
In reply to Pieter van der Hijden

Re: Upload courses

by Angel Simón -

Thank you very much! I will figure out the config parameters. I needed to know that it can be done.

The "templatecourse" field works really great.

Thanks again!