tool:sync:files:coursemetas
Table des matières
Tool sync: Metacourse link binding file format
Introduction
The metacourse linking tool lets you add or remove metacourse relations by adding or removing an enrolment method instance in the course that receives the enrolment synchronisation. For this tool to be available and visible on the interface, the metacourse link enrolment method must be enabled in the general administration of enrolment plugins.
The file
- It must be UTF-8 encoded if the identifiers contain non-ASCII characters, or ISO 8859-1 if the tool configuration specifies it.
- Contains fields separated according to the general configuration of the synchronisation tool
- Has a first line containing the column names, 'cmd' (optional), 'master' and 'meta'
- Contains data lines containing:
| Field | Value | Comment |
|---|---|---|
| cmd | 'add' or 'del' | If the column does not exist or the value is empty, the 'add' command is assumed by default |
| master* | Course id | The source of the id depends on the configuration of the 'course' section of the synchronisation tool |
| meta* | Id of the metacourse to link | The source of the id depends on the configuration of the 'course' section of the synchronisation tool |
(*) mandatory fields
Example document for the bindings
cmd;master;meta add;MASTER1;META1 add;MASTER1;META2 add;MASTER2;META3 del;MASTER2;META4
tool/sync/files/coursemetas.txt · Dernière modification : de 127.0.0.1
