Giter Club home page Giter Club logo

strapi-plugin-excel-export's Introduction

Excel Export

This plugin allows users to generate and download excel files directly from their strapi application, streamlining data management and analysis. With intuitive configuration options, users can define the data to be included in the excel file.The plugin is designed to be user-friendly, offering a seamless experience for both developers and end-users.

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",
    },
  },
};
  • The tables uid (api::contact-form.contact-form) need to be given following by its columns required

    • The columns has to be exactly like in the schema.
  • Relational fields need to be specified in the relation. For example consider the relation as solution and the column wanted from that relation is title

    • Note : Currently one level of relation is supported.
  • The locale field is for i18 translation plugin. If there is translation for the table you have to make it true.

    • Note : Currently data will be only availabe in 'en'.
  • You can't extract data from dynamic zone or nested components.

strapi-plugin-excel-export's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.