Hi folks,

I have been using node import module with a lot of glee. But there is one issue I wish was smoother. I have a content-type that contains a cck user reference field. If you try to prepare a .CVS file that will supply this user reference, Node Import does not complain about it, but fails to import the user ref. supplied in the .CVS file.

So have some questions, maybe some one has some ideas:

1. In what form should the user-reference be supplied ( by UID or by login username ) in the CSV file?
2. Does this simply not work and I should give up hope?
3. Can Node Import deal with fields that are set to multiple values? I think not, or just takes the first one it finds...

Ideas?

Comments

goose2000’s picture

Any one try to import a user reference with node import module, no ? I should try to explain this better I'm wondering...

hurricane66’s picture

Have a look at http://drupaleasy.com/blogs/ultimike/2009/05/using-node-reference-fields... , or perhaps http://drupal.org/node/288185 (which is referenced in the article).
This is about node reference, sure, but the reasoning apply also to user reference handling.

It helped me out; ended up switching from checkboxes for user references to Autocomplete Text Fields instead. After that the imports works fine.

goose2000’s picture

Thanks hurricane, that was a good lead. More about node-reference than a user-reference, but still encouraging that it can be done...