piersharding / moodle-tool_uploadcourse

** Note** this is now in Moodle core as of 2.6. Moodle Admin Tools plugin for basic upload of course outlines, and applying templates using Moodle course backup files
21 stars 12 forks source link

enrolmethod as meta #13

Open plukethep opened 11 years ago

plukethep commented 11 years ago

Hi,

I'm trying to bulk create courses with enrolment method set to meta and linked to different courses, specified by the 'link_1' field. What is the format I should be using? I can't find any documentation at the moment.

+----------+-----------+----------+----------+----------+---------------+--------+ | fullname | shortname | category | idnumber | summary | enrolmethod_1 | id_1 | +----------+-----------+----------+----------+----------+---------------+--------+ | Parent | Parent | | Parent | Parent | meta | 873 | | Students | Students | | Students | Students | meta | 862 | | Teachers | Teachers | | Teachers | Teachers | meta | 128 | +----------+-----------+----------+----------+----------+---------------+--------+

Trying the above table gives no issues, but doesn't enrol anyone either!