Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Export

A resource opts into exporting its list as a file; the download carries the rows the screen shows, minus the paging.

# descriptors/posts.yaml
list:
  exportable: true
ListConfig::new("posts", "Posts", columns).exportable()
KeyDefaultDescription
exportablefalseMounts /export under the resource and shows the export menu beside New.

Choose the format

GET /admin/posts/export?format=csv&q=launch&sort=created_at&dir=desc&f_status=draft
FormatHeaded byContent type
csv (default)The column labels, localized.text/csv
jsonThe column names.application/json

The file carries the columns the user can see and has chosen, the search, the filters and the sort of the list it was offered from. An unknown format is CSV.

Keep within the limit

LimitValue
Rows20 000

Past it the export is refused with a message asking to narrow the list.

Gate it

WhoGets
A user holding the resource’s permissionThe export menu and the route.
A user without a column’s permissionA file without that column.
Anyone else403 Forbidden.