In order to import data from a CSV file, I would like to use Feeds. I followed an example from the Drupal Cookbook, and it uses the Basic Page content type.

Because the data I would like to import has unique data, could you please confirm if I will need to create a new content type with its own fields so I can map map the source to target? I would just like to make sure what I am attempting to do is correct to avoid corrupting the database...


1 Answer 1


If there are different data that you would like to store from your csv, you should create your own content type, add required fields there.

Then in create your feeds importer, set the required settings(like selecting your content type), set mappings and let feeds do its magic(yep, its an awesome module!)

Fees is a great module where you have to import data into nodes, users or taxonomy.

  • Thank you @SGhosh Do I by any chance also need a Data and Schema modules as well? I am not importing pages/articles/images or anything like that, the data in my csv file is very simple, and I just want to import it in order to be able to search for it by a couple of different fields. I don't want the data to be displayed anywhere else apart from the search results table. If that makes sense.
    – user12885
    Commented Jan 29, 2013 at 23:47
  • @user12885 - Actually I have never used Data and Schema modules. But from what I understand, creating nodes will fulfil your requirement to show results in search. And feeds module will make importing data from csv into nodes a smooth affair. But yes, you need to create your custom content type drupal.org/node/306792, so you can have as many and as specific fields per your need. Install Feeds, play around with it a bit, you will understand what settings you require. Google around a bit, watch videos, tutorials, the time will be worth spending!
    – SGhosh
    Commented Jan 30, 2013 at 4:24
  • Thank you for that. Re: Fees is a great module where you have to import data into nodes, users or taxonomy. Will this create a node/page for each row entry? Because I don't want each table entry to have its own page, if that makes sense...
    – user12885
    Commented Jan 30, 2013 at 4:46
  • @user12885 - well, yes, each set of data = each row, will create a new node. What do you think is a problem in having a node for each row?
    – SGhosh
    Commented Jan 30, 2013 at 5:09
  • Will each node be accessible via an individual url? If so, is this ok? Will people be able to get to it?
    – user12885
    Commented Jan 30, 2013 at 6:06

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.