Import new field data to existing nodes

Created on 24 August 2024, 8 months ago
Updated 7 September 2024, 8 months ago

Hi all I have successfully created new nodes from a CSV file.

But suppose I want to import field data to existing nodes - for example suppose I have a node type "country" with nodes Japan, France, etc

I haved added a new node field called "Capital", and my CSV column has Tokyo, Paris etc

Any ideas please how I can map the new data to the relevant node so that "Tokyo" is imported to the Japan node, and "Paris" is imported to the France node?

💬 Support request
Status

Fixed

Component

Code

Created by

🇬🇧United Kingdom juc1

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @juc1
  • 🇬🇧United Kingdom juc1
  • Status changed to Fixed 8 months ago
  • 🇳🇱Netherlands megachriz
    1. Make sure that your CSV file looks something like this:
      country,capital
      Japan,Tokyo
      France,Paris
      

      Your CSV file can have more columns, but at least it needs to have "country" and "capital".

    2. On the feed type's processor settings, make sure that "update existing" is enabled. This allows Feeds to update existing nodes.
    3. Add mapping for Country and Capital.
    4. Enable the "unique" option for the mapping row for "country". This makes Feeds look for existing country nodes based on the country name.
    5. Import.

    I hope this helps you further. If not, feel free to reopen this issue.

  • 🇬🇧United Kingdom juc1

    Ok that works perfectly, thank you.

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

Production build 0.71.5 2024