DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:struct:csvimport

This is an old revision of the document!


Struct Plugin

Struct Plugin: CSV Import

The Schema Editor has a Import/Export tab offering support for importing raw data into a lookup schema (page schemas are not supported currently) using a CSV file.

  • The first row has to contain headers matching the field names of the lookup schema you're importing into
  • Columns with headers not matching any field name are ignored
  • Only commas are supported as separator
  • Column contents should be enclosed with double quotes
  • Double quotes can be escaped with a backslash (\) or using standard doubling of the double quotes ("")
  • For multi fields, the column content will be split at commas (no support for any escaping)
  • Content has to be in UTF-8 encoding

The imported data is added to whatever data is already stored in the lookup schema.

You can use the CSV Export on the same tab to get an example CSV file.

plugin/struct/csvimport.1481126511.txt.gz · Last modified: 2016-12-07 17:01 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki