Support

Account

Home Forums General Issues Fill User field with User ID

Solved

Fill User field with User ID

  • Hi,

    I’m currently migrating User datas from a custom DB to a WordPress DB, using WP All Import Pro, for a family website of 300 members.

    Right now, I need to link each user to his Partner, Mother and Father.

    So I created ACF Field (User Field) for Partner, Mother, Father and I got the ID of the member I want to refer as Partner.
    But the IDs don’t populate into the Partner/Mother/Father fields as they are User field, and not Text field.

    How can I do that?

    Thanks,
    Vianney.

  • A user field holds an array of users. WPAI should handle this.

    This is just a guess but the problem you may be having is that the user must already exist so that the user ID you are importing actually matches a user ID already added. You will not be able to import the users and do the relationships in the same import.

    This would be the same for any relationship type field.

  • The user must already exist so that the user ID you are importing actually matches a user ID already added. You will not be able to import the users and do the relationships in the same import.

    Absolutely right!
    Thanks for your advice and your help!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.