vinubabu323 / strapi-plugin-excel-export

Strapi plugin to export excel
MIT License
9 stars 13 forks source link

Getting Started

This plugin allows users to extract data easily from strapi backend into .xlsx format

Multi-Select Video

How to install

  1. Go into your strapi project.
  2. Install the plugin using the command npm i strapi-plugin-excel-export-2024 or yarn add strapi-plugin-excel-export-2024
  3. The plugin will be added to your strapi project.

How to use

  1. Create an excel.js file in the config folder. This file is used to provide tables and columns that need to be in the excel file
module.exports = {
  config: {
    "api::contact-form.contact-form": {
      columns: [
        "first_name",
        "last_name",
        "phone_no",
        "business_email",
        "job_title",
        "company_name",
        "company_website",
        "city",
        "message",
      ],
      relation: {
        solution: {
          column: ["title"],
        },
      },
      locale: "false",
    },
  },
};