Skip to content

Data Import

Severino edited this page Nov 29, 2023 · 9 revisions

Note: This feature will be introduced in Milestone Federsee (v0.6). This documentation is preliminary.

The data importer works with multiple csv-files, whereas:

  • Each context type has is represented by one csv-file
    • Rows are defined as
      1. First row is ID (unique int/string/... which is referenced in the relations file), Name of the Context Type, Attributes
      2. Second row holds the datatypes of the attributes (first two columns are skipped)
      3. Third row+ are actual contexts in the structure defined in first row
  • Relations are stored in a relations.csv file. The filename is hardcoded!

Supported data types

Datatype
string simple text with lots of variations
stringf long text
string-sc shortlist, gets converted to single dropdown-list
integer integer numbers
double decimal numbers

Caveats

When the import fails. Make sure to check the 'upload_max_filesize' and 'post_max_size' in the php.ini.

Clone this wiki locally