Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Dataform Import: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
Created page with "{{Dataform}}"
 
Cap resum de modificació
 
Línia 1: Línia 1:
{{Dataform}}
{{Dataform}}
You can import entries into the Dataform from entries data in CSV format. CSV means Comma-Separated-Values and is a common format for text interchange.
[[Image:df-view-import.png]]
The expected file format is a plain text file with a list of field names as the first record. The data then follows, one record per line.
The field delimiter defaults to a comma character and the field enclosure is not set by default (field enclosures are characters that surround each field in each record).
The CSV records should be delimited by new lines (usually generated by pressing RETURN or ENTER in your text editor). Tabs can be specified using \t and newlines by \n.
Sample file:
  name,height,weight
  Kai,180cm,80kg
  Kim,170cm,60kg
  Koo,190cm,20kg
Note: Certain field types may not be supported.
Do not put spaces after your commas or upload will fail!

Revisió de 12:58, 18 oct 2012

You can import entries into the Dataform from entries data in CSV format. CSV means Comma-Separated-Values and is a common format for text interchange.

Fitxer:df-view-import.png

The expected file format is a plain text file with a list of field names as the first record. The data then follows, one record per line.

The field delimiter defaults to a comma character and the field enclosure is not set by default (field enclosures are characters that surround each field in each record).

The CSV records should be delimited by new lines (usually generated by pressing RETURN or ENTER in your text editor). Tabs can be specified using \t and newlines by \n.

Sample file:

 name,height,weight
 Kai,180cm,80kg
 Kim,170cm,60kg
 Koo,190cm,20kg

Note: Certain field types may not be supported.

Do not put spaces after your commas or upload will fail!