abstract-purpleA
Refine4y ago
2 replies
abstract-purple

useExport with arrays in schema

I have resources that have array fields, which I am spreading to fields like arrayItem.0.name, arrayItem.1.name and this works, however the CSV export does not aggregate the headers and only appears to use the headers from the first row. So, if there's a subsequent row that has more items in the array than the initial row, they do not appear in the CSV. Is there a workaround for this?
Was this page helpful?