The Schema Editor has an Import/Export tab offering support for importing raw data into a schema using a CSV file. You have to choose which type of data you want to import or export: page, lookup or serial. Depending on the type, the CSV file will look and be handled differently, as described below.
Some general rules:
\
) or using standard doubling of the double quotes (""
)["namespace:id",2]
, while the value escaped and quoted in CSV would look like this "[""namespace:id"",2]"
Import page data (one dataset/row per page):
pid
. It's used to bind the data to a proper page.pid
s only the first one is imported and the others are omitted with the proper error message.pid
doesn't exist, by default the respective row is omitted (with the proper error message) and the import continues.Create pages from imported datasets (special feature of page data import):
pid
column. This page-creation uses any existing namespace template or, if that does not exist, creates pages filled with a first heading made up of the pagename.@@schemaname.labelname@@
or ##schemaname.labelname##
. Notice that labels are case sensitive here (in contrast to using them in templates with bureaucracy).Serial data is imported similarly to page data, with some exceptions:
pid
are all imported.Global and serial data is added to whatever data is already stored.
pid
.You can use the CSV Export feature to get an example CSV file.