strapi-plugin-import-export-content icon indicating copy to clipboard operation
strapi-plugin-import-export-content copied to clipboard

Spread JSON objects in CSV outputs to make them more readable

Open nirmalhk7 opened this issue 3 years ago • 1 comments

If I have following data in my Strapi database:

Name School
Nirmal {name: xyz, area:abc}

This plugin would export it exactly like above: keeping the JSON field in a stringified form.. I wish to understand why it can't be like this instead:

Name School.name School.area
Nirmal xyz abc

At this line you can add a check whether the element variable is an array or an object. In case if it is an object, you can create extra columns and save the data appropriately.

I have a hunch you knew/ tried to do something like this, so I'm wondering is there anything I'm missing in my understanding of Strapi/ this plugin to figure this out. I'd love to hear some clarification on this.

Awesome job, thanks :v:

nirmalhk7 avatar Mar 21 '22 18:03 nirmalhk7

  • 1

@nirmalhk7 : By any chance, have you come across something that can do bulk update of existing entries (instead of importing new data).

ishallwin20 avatar Mar 24 '22 09:03 ishallwin20