-
Notifications
You must be signed in to change notification settings - Fork 6
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
- First row is ID (unique int/string/... which is referenced in the relations file), Name of the Context Type, Attributes
- Second row holds the datatypes of the attributes (first two columns are skipped)
- Third row+ are actual contexts in the structure defined in first row
- Rows are defined as
- Relations are stored in a
relations.csv
file. The filename is hardcoded!
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 |
When the import fails. Make sure to check the 'upload_max_filesize' and 'post_max_size' in the php.ini.