Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-41639

Auto create Cohorts when they don't exist in CSV upload

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.1
    • 2.8
    • Cohorts
    • MOODLE_25_STABLE
    • MOODLE_28_STABLE
    • wip-MDL-41639-master
    • Hide
      1. Create some cohorts
      2. Prepare CSV files with several users for user upload, see http://docs.moodle.org/27/en/admin/tool/uploaduser/index
      3. Add columns for cohorts (cohort1, cohort2, etc.), allocate existing and non-existing cohort ids and idnumbers there (id is a numeric field that would be matched against cohort.id, idnumber is non-numeric field that would be matched against cohort.idnumber)
      4. Upload users
      5. Make sure that:
        • users are allocated to the existing cohorts
        • if non-existing numerical value was specified, cohort was NOT created
        • if non-existing non-numerical value was specified, new cohort WAS created on the system level with both idnumber and name matching this value
      Show
      Create some cohorts Prepare CSV files with several users for user upload, see http://docs.moodle.org/27/en/admin/tool/uploaduser/index Add columns for cohorts (cohort1, cohort2, etc.), allocate existing and non-existing cohort ids and idnumbers there (id is a numeric field that would be matched against cohort.id, idnumber is non-numeric field that would be matched against cohort.idnumber) Upload users Make sure that: users are allocated to the existing cohorts if non-existing numerical value was specified, cohort was NOT created if non-existing non-numerical value was specified, new cohort WAS created on the system level with both idnumber and name matching this value

    Description

      Hey all,

      It could be really helpful to have an Auto create cohorts (to the admin) like we have in groups (auto create groups).

      If we have dozens of cohorts it makes it really difficult to create them one by one. or any CSV file to upload only cohort could really be helpful

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              mikidream miki Alliel
              Dan Poltawski Dan Poltawski
              Damyon Wiese Damyon Wiese
              Jetha Chan Jetha Chan
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Nov/14