Strapi Import/Export Entries Plugin

1.23.1 · active · verified Wed Apr 22

This is a Strapi v4 plugin designed for seamless import and export of data entries within a Strapi application. It provides functionalities directly integrated into the Strapi Content Manager UI, allowing users to import and export content types, single types, components, dynamic zones, and media files with just a few clicks. The plugin currently operates at version 1.23.1 and demonstrates an active release cycle, with frequent updates addressing new features and bug fixes, supporting Node.js versions from 14.19.1 up to 20.x.x and requiring Strapi 4.10.5 or newer. A key differentiator is its robust access control mechanism, which allows administrators to define which user roles can perform import and export operations. It also supports filtering and sorting during export, offers a JSON v2 format for data exchange, and provides options to export plugin-specific content types, making it a comprehensive tool for data migration and backup within the Strapi ecosystem. The plugin also provides programmatic access through its services and a Content API for more advanced use cases, alongside webhook support for automated workflows.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how to install the plugin, enable it in your Strapi configuration, and rebuild the admin panel for the changes to take effect. It also shows where optional configurations can be added.

// 1. Install the plugin using npm or yarn:
// npm i strapi-plugin-import-export-entries
// or
// yarn add strapi-plugin-import-export-entries

// 2. Enable and configure the plugin in your Strapi project's `config/plugins.js` file:
module.exports = ({ env }) => ({
  // ... other plugins ...
  'import-export-entries': {
    enabled: true,
    config: {
      // Optional: Configure a unique 'idField' per collection type to prevent ID conflicts during import.
      // For example, if you have a 'product' collection with a unique 'sku' field:
      // idField: {
      //   product: 'sku',
      // },
      // Other configurations like 'import.tempFolderPath' can be added here.
    },
  },
  // ...
});

// 3. Rebuild your Strapi admin panel to apply the plugin changes:
// npm run build --clean
// or
// yarn build --clean

view raw JSON →