I am using Data Module to create tables in Drupal. Now, I need to import some data through CSVs, for this I want to use Feeds Module. My table consists of more than one primary key i.e. a group of fields together forms a primary key.

Is there any way to import the data for such a case using feeds? Coz my understanding is that feeds cannot import data if the primary keys are not restricted into a single column.

1 Answer 1


The simplest thing to do would be to use Feeds Tamper's Rewrite plugin to combine the unique fields in your source into one field and then map that to the GUID.

https://drupal.org/node/1539224 could use some help as well for supporting this properly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.