If you have, let's say, 1000 nodes with one TableField in each, is it possible to populate all these nodes TableFields using one csv-file and the Feeds module? Any other suggestion?

Comments

bengt’s picture

Anyone?

vaccinemedia’s picture

Was this ever solved? I need this too with an e-commerce shop I'm trying to build. Each product has in a csv file a column each labelled spec1 spec2 etc with a corresponding column of value1 value2 and I'm hoping to create a single field:value pair field called "specifications" which can be imported using fields

stevenx’s picture

Issue summary: View changes

I would like his feature too.
+1

nattyweb’s picture

This would be a very powerful facility. If it's not in the plans, can anyone suggest how to implement this in another way?

nlambert’s picture

Category: Support request » Feature request
vitalie’s picture

I think Feeds imports one row at a time. How does one stick a table into one row? Let's say one could use some special separator, how will one then easily produce an export?

robertwb’s picture

@vitalie, I think this could be achieved by simply providing a serialized table in each row - since tablefield is just that. or perhaps as json.

jenlampton’s picture

Category: Feature request » Support request
Status: Active » Fixed

It wouldn't be too hard to create a custom feeds mapper that would export the contents of a CSV file, and map it to the appropriate place in the database. Unfortunately, I think it would have to be a custom mapper because where that CSV file divides into the separate nodes and where the data for the table field is sored is likely to be different for each person. It is possible that this module could provide feeds support that would serialize the data for storage, but your use-case sounds very specific.

robertwb’s picture

How is this fixed? Sounds like "Closed(won't fix)"

jenlampton’s picture

@robertwb as a support request, the issue is fixed when support is given. Since the issue turned into advice about custom code, it became a support request and not a feature request.

Feel free to change it back if you disagree! :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.