Upload Data using Excel

default discord avatar
zinox9last year
2

Is there any way to create an API in payload that allows to upload data using excel ? or just an api that will take multiple data and create documents in database using the data we provided after reading the excel sheet on frontend ?

  • default discord avatar
    notchrlast year

    @zinox9



    Yes



    You would make a function that parses the csv or xlsx file and you would then format the data



    Once you can parse the file and format your data, you can then make local API calls to create the data

  • default discord avatar
    zinox9last year

    Okay !

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.