Level up your skills at DrupalCon Chicago 2026 with focused Summits and immersive, hands-on Trainings led by community experts.
Problem/Motivation
I am trying to import users role but not able to import it. It Shows the empty field value after import. I am using the header user_roles for importing but is still not working.
Please suggest on this. What am I missing?
Issue fork csv_importer-3186207
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
shimpyComment #4
acontia commentedI have managed to import users with 1 role using a csv file with this structure (*note the "|target_id" on the roles header):
Looks like adding multiple roles is not supported by the module, but patch on #16 on this thread might help (I haven't tested it thought): https://www.drupal.org/project/csv_importer/issues/3000137#comment-13905193