Multiple table field rows from CSV #881
Replies: 4 comments 1 reply
-
Complex fields like Matrix or Table aren't really supported in the CSV format. I'm also hesitant to ever add support for them due to unexpected results. In your example, its pretty ambiguous as to what data should be applicable with a single entry. Just because there's no values on the first few columns, sounds mean its part of the previous row's data. Maybe this new row should be data for a new entry? If anything, this will likely take the form or piping values, like elements work (Category 1|Category 2, etc). Or even using JSON-encoded data, but that really seems like we're using the wrong data type. |
Beta Was this translation helpful? Give feedback.
-
JSON would be ideal, but I'm working with a client that needs to be able to create and import this data themselves. CSV is a good fit for this. I guess an option could be to mark a column as required, and if that doesn't exist for a row, treat the row as supplementary data to the previous entry? As a second best option, piping would also work, but this wouldn't be as clear from the CSV perspective. |
Beta Was this translation helpful? Give feedback.
-
Having the option to add rows with piping would be ideal for CSVs, in a simple use case. I'm looking for a way to basically create a simple textfield repeater and a table seems to be the best approach for CSVs and Feed Me. Anyway to get this implemented? |
Beta Was this translation helpful? Give feedback.
-
At the moment, piping is supported to create multiple rows. For example:
The above will result the the content for the Table field to be: |
Beta Was this translation helpful? Give feedback.
-
Description
The mapping from a CSV column to a table field column works great, but how can you add more than one row to a table? I was hoping that an entry could spread over more than one row in the CSV, like this https://file-ewgbcvrimc.now.sh. But this doesn't work, as feedme expects each line to be an entry.
Additional info
Beta Was this translation helpful? Give feedback.
All reactions