!read adm/title.phtml 1\
\
Upload spreadsheet data
To send data from your spreadsheet into the class, save the data in a text
format
(txt
, csv
, or tsv
), then send the
file to the server
.
<p>
You can either send user information or grades to the class. To send user
information, the data must not contain any grades.
</p><p>
If you add grade to the class, the latter must contain the corresponding
column. So if the grade column does not exist yet, create it first before
uploading data.
</p>
<h3>Authentification via WIMS</h3>
The first row of the table should be the names of
each column
. Valid column
names and their meanings are shown below. You may choose any combination of
columns and place them in any order, with the only condition that the field
<span class="tt wims_code_words">login</span> must be present (WIMS use this field to recognize individual
participant). If you want the server to ignore some rows, put a character
<span class="tt wims_code_words">#</span> into the <span class="tt wims_code_words">login</span> field.
<p>
You can use this method to add participants (many at once), but to do so,
your table must contain enough valid data
for each participant to be added
(first
name, last name, password).
</p><p>
Un exemple de fichier valable pour l'inscription :
</p><pre>
login,firstname,lastname,password
toto,Claude,Toto,1234
</pre>
<h3>Cas d'une authentification externe</h3>
Le format du fichier est le même, mais vous devez remplacer le champ
<span class="tt wims_code_words">login</span> par le champ
<span class="tt wims_code_words">external_auth</span> (le champ <span class="tt wims_code_words">login</span>
ne doit pas apparaître).
Vous devez compléter obligatoirement avec le nom et le prénom (<span class="tt wims_code_words">lastname</span>,
<span class="tt wims_code_words">firstname</span>) à moins que vous ne bénéficiez
d'une liaison avec un annuaire, ldap par exemple (déclarée dans la configuration de la classe).
Dans ce cas, et dans ce cas seulement, seul l'identifiant externe
(<span class="tt wims_code_words">external_auth</span>) doit être mis.
Rappelons qu'il est totalement déconseillé de changer de procédure d'authentification
une fois que des participants sont inscrits.
<p>
Un exemple de fichier valable pour l'inscription :
</p><pre>
external_auth,firstname,lastname
Claude.Toto,Claude,Toto
</pre>
!read lang/help.$moduclass_lang/fieldtab.phtml