Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On my Drupal 6 site I have several Select list: Allowed values list: Integer with 3 diff. values like this
|
1|Ja
0|Nej
2|Ved ikke
AND
|
handicap|Handicap
pissoir|Pissoir
unisex|Unisex
AND
Textfield number of m2 is not imported too.
It looks as Feeds importer look for key and not value because if I manually change csv-file to use key it's functioning. Is this how it's supposed to functioning and how do I solve this, please?
Comments
Comment #1
twistor CreditAttribution: twistor commentedCorrect, that is how it is supposed to work. It maps to the key, not the value.
Look at Feeds Tamper. It offers various plugins that can accomplish what you're looking for.
Comment #2
tinem CreditAttribution: tinem commentedThanks but would be great if you could help and link me to the solution how to do this, please?
I have used weeks to solve this and have posted several messages in both Forum/Feeds/Feeds Tamper issue but didn't get the solution. It's for version 6. I can post my messages here if you want me to?
Comment #3
tinem CreditAttribution: tinem commentedComment #4
twistor CreditAttribution: twistor commentedIt's kind of hacky, but you can use the Find Replace plugin to convert these to the required values.
There isn't currently a plugin that looks up the field mapping from CCK. This should be fixed in Feeds, but that can only come in 7.x. 6.x can't do it.
In your second example, you can use the Convert case plugin to lowercase the words.
Can you just set the keys and values to the same thing?