Skip to content

Data Export

Export data from any collection to CSV or JSON format.

  1. Open a collection
  2. Click the Export button in the toolbar
  3. Choose format (CSV or JSON)
  4. Optionally filter before exporting to export a subset
const productsCollection: EntityCollection = {
slug: "products",
exportable: true, // Enable (default: true)
// Or with config:
exportable: {
additionalFields: [
{
key: "computed_margin",
title: "Margin",
builder: ({ entity }) => {
return entity.values.price - entity.values.cost;
}
}
]
},
properties: { /* ... */ }
};