Development & AI Upgrades · Practical News

Designing a Data Export Feature Customers Can Actually Use

Source: Paddy Dance teamKeywords: designing data export feature

Generate asynchronously

The user submits criteria, a background job queries in batches and writes a file, and the user is notified when it is ready. Show progress and let them leave the page.

Paginate by primary key cursor rather than large offsets. Deep pagination gets slower with every page.

Permissions must follow the data

The export scope must match what the list page shows. It is a real bug when the list is department-scoped but the export returns the whole company.

Exports are high-risk actions. Authorise them separately and log who exported what, when, and how many rows.

Sensitive fields

Mask phone numbers, ID numbers and bank cards unless there is a genuine need for plaintext, which should require approval.

Protect the file itself: time-limited signed download links, never a guessable public path.

FAQ

How many rows is large?

Tens of thousands is a reasonable threshold for async. If a synchronous request takes more than a few seconds, redesign it.

How long should export files live?

Set an expiry, for example seven days. Long retention consumes storage and increases exposure.

What if the customer wants everything?

Clarify purpose and scope, then grant according to permission. Data about other people cannot be included.

Related questions

export large datasetsexport request times outexport permission controlmasking exported data

Further reading

Sources & References

The following are public sources. Always check the latest requirements on the official authority or platform page.

Explain your case first, then confirm the scope

Tell us your entity, business model and current progress. We will confirm what we can assist with and what you need to do before discussing fees.