Skip to main content
Question Protected by CommunityBot
removed "Drupal" and tags from the title
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

How todo I skip feed import forimporting a duplicate item in Drupal 7?

Source Link

How to skip feed import for duplicate item in Drupal 7?

enter image description here

I use unique field mapping, but instead of blocking the import on duplicates from CSV, it overwrites the data in Drupal and inserts the new value from the CSV file.

This is the default behavior with unique title field mapping:

"IF the title is duplicate THEN overwrite old item in Drupal with new item from spreadsheet"

But I'm looking for this behaviour:

"IF the title is duplicate THEN skip new item from spreadsheet, and keep old original item in Drupal intact"

I have field tamper, the item field AND the importer field all set to unique. It all works fine, but on duplicate feed imports, instead of preventing import of duplicate items, it overwrites the old field, and inserts the new duplicate...

My goal is for Drupal to PREVENT the duplicate field to be populated at all...the same way if you manually try to input a duplicate entry in manually imputing content, it shows an error and prevents you from submitting the form.

Is this even possible without custom code? Maybe with rules?