Skip to content
EN

Export content

Last updated

Export takes a model’s content out to a file on your machine.

What is exported for JSON, CSV, and GeoJSON is in Import / Export.

Only items whose status is Published are exported. The steps for publishing an item are in Publish and unpublish an item.

The file name uses the model’s ID rather than the model name, as 〈model ID〉-data.〈extension〉. When the download finishes, Download successful is shown along with the file name.

Owner, Maintainer, Writer, and Reader can all export.

A format that writes out the item values as they are.

  1. Under Models on Content, choose the model you are exporting.
  2. Click the more actions icon (vertical …) next to the model name heading and hover over Export.
  3. Choose JSON. The download begins.

A format a spreadsheet can open.

  1. Under Models on Content, choose the model you are exporting.
  2. Click the more actions icon (vertical …) next to the model name heading and hover over Export.
  3. Choose CSV.
  4. A notice about the fields that will be dropped is shown. Read it and click Export as CSV. The download begins. To stop without exporting, click Cancel.

For a model that makes a field required which CSV does not include, you cannot import the exported CSV as it is. When that field has a default value set, the default value goes in and the import works.

A format a map can handle. For a model with two or more geometry fields, only one goes into the file, and the rest are not included.

  1. Under Models on Content, choose the model you are exporting.
  2. Click the more actions icon (vertical …) next to the model name heading and hover over Export.
  3. Choose GeoJSON.
  4. For a model with one geometry field, the download begins. For a model with two or more, a warning appears; confirm that only one field will be exported, then click Export Anyway. To stop without exporting, click Cancel.

For a model with no geometry field at all, choosing GeoJSON does not begin the download.

The geometry field exported is the one that comes first in the order on the Fields tab of the Schema screen. To export a different geometry field, change that order.

  1. On the Schema screen, open the Fields tab of that model.
  2. Grab the three-line icon to move the card of the geometry field you want to export ahead of the other geometry fields.

For a model that has no items at all, Export cannot be operated in any format.