@payloadcms/plugin-import-export: Issue with exporting relationship and array fields #11979
Unanswered
Phyo-Alpha
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So yesterday I added the import-export plugin to PayloadCMS to test it out, so far it working fine. However it got issue when exporting either relationship fields or array fields. For relationship fields it only exported the id and for array fields it exported the first index of the array in each of the row.
I want to know if there a way to customize how fields are handled when exporting, preprocess the data before the file is created.
This is what it look like for relationship fields.

And for array fields type, only the first index of the array fields are exported.

Notice that the column only have division 1, even though other divisions exist.
This is currently my config.

Beta Was this translation helpful? Give feedback.
All reactions