Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 2.16 KB

File metadata and controls

51 lines (33 loc) · 2.16 KB

AdminForth ImportExport Plugin

License: MIT Build Status npm downloads npm version

Ask AI

Allows to add import/export to csv options to an adminforth table.

Features

  • Import records into AdminForth tables from CSV or Excel files.
  • Export table data to CSV or Excel for external processing and reporting.
  • Speed up bulk data operations in the admin panel.
  • Support operational workflows around large datasets.

Documentation

Full setup and configuration guide:

AdminForth ImportExport Documentation

To use the plugin for export only, disable import in the plugin configuration:

new ImportExport({
  importEnabled: false,
})

Import is enabled by default for backward compatibility. Disabling it removes the import action from the UI and does not register the import-related HTTP endpoints.

To import and export Excel workbooks instead of CSV files, set fileFormat for the resource:

new ImportExport({
  fileFormat: 'xlsx',
})

CSV remains the default file format. Both formats support exportViaUpload for large background exports. XLSX exports that exceed Excel's per-worksheet row limit are split across worksheets, and imports combine worksheets when their columns match.

About AdminForth

AdminForth is an open-source, agent-first admin framework for building robust admin panels and back-office applications faster.

Related links