We built an application for a client of ours to track appeals and cases of a legal case. There are currently over 2,000 entries in the system. After we built the app, it was requested we add four more fields for allocation amounts. We added the fields, but he would like to now import the content (which he has already put in a csv format, in proper order for an import).
We originally used Node Import module to import all of the content (I believe 1700 of the 2000 entries were entered through the initial import). However now that we have added extra fields, Node import does not have functionality to import into empty fields, mainly I believe because it does not have the ability to identiy unique identifiers and see that an entry already exists for that Node title.
Node Import Update module, from what I read in the description of the module should be able to do it. However after installing this module and doing the import again, it does not work, instead it creates duplicative entries.
In Node Import Update module's known issues page (http://drupal.org/node/813978), it says one needs to go in and update the node type you want to import. I do not know what value it is asking for here. The name of the Content Type in which the fields are in? This is what I currently have it set to. I know Title is correct - not sure about the node type:
Set custom data * These should/could be defined in admin * */ // Node title as unique identifier //$IMPORT_UNIQUE_ID_NAME = 'title'; // Import field that holds the unique identifier //$IMPORT_UNIQUE_ID_IS_CCK = FALSE; // Is the identifier a CCK field?
// CCK field as unique identifier $IMPORT_UNIQUE_ID_NAME = 'title'; // Import field that holds the unique identifier $IMPORT_UNIQUE_ID_IS_CCK = FALSE; // Is the identifier a CCK field? $IMPORT_NTYPE = 'node'; // Node type to be imported $IMPORT_UPDATE_DATETIME = TRUE; // Settting: update date/time value?
Sorry if it is long winded - however I wanted to ensure I was complete in describing the issue as I really need to get this wrapped up for my client. Thanks!!!