Subversion Repositories wimsdev

Rev

Rev 8311 | Blame | Compare with Previous | Last modification | View Log | RSS feed

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