{{ :blocks:logo-apl.png?nolink |}} ===== Tool Sync: Complete Data Integration through CSV Files ===== {{ :tool:tool-sync-icone.png?nolink&200|}} ==== Presentation ==== The Tool Sync component is a unified alternative covering the various needs of feeding a Moodle platform with data from flat CSV files (Excel, for example). It** complements and improves the mechanisms** of Moodle's standard management tools by gathering them into a single tool and unifying the processing of data feeds. ==== Guides ==== * [[Tool:Sync:Installation|Installation guide]] * [[Tool:Sync:UserGuide|User guide]] * [[Tool:Sync:Integration|Integrator guide]] * [[Tool:Sync:Technique|Technical guide]] :TODO: Scheduled tasks to complete ==== Feature summary ==== This plugin unifies all mass processing operations based on CSV files in a systematic processing scheme: * Temporary storage of command files * Manual execution of a preselected command file * Systematic (cron) execution of the preselected command file (except in particular cases) * Archiving of processed command files * Generation of a resume file * Generation and archiving of a detailed report file **The process is applied to the key data units of Moodle, which are:** * Courses and (categories) * User accounts and their avatars * Role assignments and enrolments * Cohorts ==== Course functions: ==== * Mass deletion of courses (via an ID list file) * Mass reset of courses (via CSV command file) * Mass creation of courses (based on templates) and categories * Mass check of course identifier existence * Association of metacourse links ==== User account functions: ==== * Creation/Deletion/Resurrection of accounts * Synchronisation of avatar files ==== Enrolment functions: ==== * Adding roles * Removing roles * Creating course groups * Assigning to a course group * Removing from a course group * Changing a course group (exclusive reassignment) * Course enrolment start and end dates ==== Cohort functions: ==== * Creation and deletion of cohorts * Association of cohorts with courses ==== Generic mechanisms ==== Generic mechanisms generally apply whatever the file type (with a few exceptions). * Scheduling of the automatic execution task * Generation of a "tryback" file of processing errors * Archiving of processed files * Storage of execution reports ==== Import file formats ==== === Course operations === * [[:Tool:Sync:Files:CourseCreate|Mass course creation file]] * [[:Tool:Sync:Files:CourseDelete|Mass course deletion file]] * [[:Tool:Sync:Files:CourseCheck|Course existence check file]] * [[:Tool:Sync:Files:CourseReset|Mass course reset file]] * [[:Tool:Sync:Files:CourseMetas|Metacourse linking file]] === User operations === * [[:Tool:Sync:Files:Users|User creation/update CSV file]] * [[:Tool:Sync:Files:DeleteUsers|User deletion/suspension/restoration CSV file]] === Enrolment operations === * [[:Tool:Sync:Files:Enrols|Enrolment update CSV file]] === User avatar operations === * [[:Tool:Sync:Files:UserPictures|User avatar update]] === Cohort operations === * [[:Tool:Sync:Files:Cohorts|Cohort definition/feeding CSV file]] * [[:Tool:Sync:Files:CohortBindings|Cohort-to-course binding file]] === Course group operations === * [[:Tool:Sync:Files:Groups|Group update CSV file]] --------------- ==== Technical sheet ==== * **Component type:** Administration tool * **Name:** Tool Sync (Synchronisation of courses and users through CSV files) * **Technical name:** tool_sync * **Location:** admin/tool/sync * **Supported versions:** :M41: to :M53: * **Distribution:** **PRO** * **Availability:** Stable. ==== Builds ==== Note: a "Failing" status does not necessarily mean that the plugin does not work. This status reflects the result of automated tests checking the code against Moodle's strict standards. We are continuously working on bringing all supported plugins progressively into compliance with these development rules. ^ Branch ^ Continuous integration tests ^ | 405 | CI status | | 501 | CI status | ==== Credits ==== * Valéry Fremaux - Development, design, documentation * Florence Labord - Documentation, illustrations [[:Plugins|Back to the plugin index]] - [[:start|Back to the catalog]]