Strapi plugin logo for Bulk Export Selected

Bulk Export Selected

Plugin for bulk export of selected items in Strapi v4 admin panel

Strapi Plugin Bulk Export Selected

Plugin for bulk export of selected items in Strapi v4 admin panel

Features

  • Bulk export of selected items
  • Multiple content types support
  • CSV format with Excel compatibility (UTF-8 BOM)
  • Automatic selection detection via checkboxes
  • Automatic download with customizable filenames

Installation

npm install strapi-plugin-bulk-export-selected

or

yarn add strapi-plugin-bulk-export-selected

Configuration

1. Enable the plugin

Add the plugin to your config/plugins.js file:

1module.exports = {
2  // ... other configurations
3  'bulk-export-selected': {
4    enabled: true,
5    config: {
6      contentTypes: [
7        {
8          contentType: 'article', // Content type name
9          uid: 'api::article.article', // Content type UID
10          enabled: true
11        },
12        {
13          contentType: 'product',
14          uid: 'api::product.product',
15          filename: 'products-export', // Export filename (optional)
16          enabled: true,
17          // Include only specific fields in export (optional)
18          includeFields: ['id', 'name', 'description', 'available']
19        },
20        {
21          contentType: 'user',
22          uid: 'api::user.user',
23          filename: 'users-export', 
24          enabled: true,
25          // Ignore specific fields from export (optional)
26          ignoreFields: ['password', 'createdAt'],
27          // Keep JSON fields as single cell instead of expanding (optional)
28          jsonFields: ['metadata', 'settings']
29        }
30        // Add more content types as needed
31      ]
32    }
33  }
34};

Usage

  1. Access any content type list in Strapi admin
  2. Select desired items using checkboxes
  3. Click the "Export Selected" button that appears automatically
  4. CSV file will be downloaded automatically

Content Types Configuration

For each content type you want to export, configure:

  • contentType: Content type name (used for identification)
  • uid: Full content type UID (format: api::name.name)
  • enabled: If true, enables export for this content type
  • filename (optional): Base filename for export without extension
  • ignoreFields (optional): Array of field names to exclude from export
  • includeFields (optional): Array of field names to include (if specified, only these fields will be exported)
  • jsonFields (optional): Array of JSON field names to keep as single cell (instead of expanding into multiple columns)

Screenshots

Integrated export button

The button appears automatically when items are selected:

image

Troubleshooting

Button doesn't appear

  • Check if content type is configured in config/plugins.js
  • Confirm that enabled: true is set
  • Restart server after configuration changes

Export error

  • Verify that content type UID is correct
  • Confirm that user has read permissions on the content type

Empty file

  • Check if items are selected
  • Confirm that items have data to export

Install now

npm install strapi-plugin-bulk-export-selected

STATS

No GitHub star yet2 weekly downloads

Last updated

64 days ago

Strapi Version

4.0.0 and above

Author

github profile image for tech-msc
tech-msc

Useful links

Create your own plugin

Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.