CSV Import/Export

Search
Feedback

The CSV Import/Export can be used to extract and import data within the Data section of Structr.

The buttons for each operation can be found at the bottom of the screen and always relate to the currently selected Schema Type

fig

The format of the CSV used for export and import uses line breaks to seperate the data header and entities and , to seperate specific values.

The export button will produce a CSV string starting with the data header, followed by one line for each entity containing their respective data.

fig

The import form expects a data header with the adressed fields and the data for each entity.
It is important to note that fields can be provided optionally, unless required by the Schema.

The following example illustrates this by only specifying the name and aString attribute of the Type and some sample data.

fig

The import results in the following data:

fig

Graph-Browser

About this article
Last change 2017-02-24
Topics