Skip to content

Download as CSV

Users who can view a List can select Export CSV in the Dashboard. No extra configuration is needed. By default, the export uses the List’s output fields and runs its query with the current filter and sort. It exports matching records across pages, up to 10,000 rows. If the export exceeds that limit, narrow the filter and try again.

To keep the quantity visible in the Dashboard but leave it out of the CSV, add exportOutput to the Web orders List:

exportOutput: {
id: Schema.String,
sku: Schema.String,
},

The CSV now contains only id and sku. The Dashboard columns stay unchanged. The normal query already returns both fields, so no exportQuery is needed. If the CSV needs fields the List query doesn’t return, provide an exportQuery that returns the fields in exportOutput and applies the requested filter and sort.