2

I'm trying to import over 5000 users into drupal by using Feeds module. Can I import user "id" into "uid"? If so, how can I do that? I saw the GUID mapping target, but that is not "uid". Thanks.

2
  • I'm not sure whether or not this is possible however in the past I've created an 'Original ID' field to hold entities ID's from legacy systems.
    – Felix Eve
    Commented Apr 7, 2014 at 13:01
  • Does it has to custom script the Feeds module? I hope there is a way to add uid into a new target.
    – CocoSkin
    Commented Apr 7, 2014 at 15:32

1 Answer 1

1

The user ID field on Drupal is auto-incremented, so you don't want to import your ID values into that field. It's much better to add an original_id field to retain the legacy user IDs.

1
  • We need that for "created by" such user. If we not use the id into uid, then we have to modify over 800+ uid on articles, plus the issue with the double quotes database on body content.
    – CocoSkin
    Commented May 12, 2014 at 13:30

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.