Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Im having a bit of difficulty importing my csv files. Could someone maybe provide me with an example of how this should look? I downloaded the template, then inserted the relevant new info to import and my screen just goes blank. Any help with this would be greatly appriciated.
Comment | File | Size | Author |
---|---|---|---|
#5 | webform_import.module.patch | 7.79 KB | jjemmett |
Comments
Comment #1
Tony_mc CreditAttribution: Tony_mc commentedComment #2
jjemmett CreditAttribution: jjemmett commentedI'll look into it for ya. The following information could help me out in trying to recreate your issue:
Drupal Version
Webform Version
Component List
Name, key, Type, Required, Other
Thanks
John
Comment #3
jjemmett CreditAttribution: jjemmett commentedComment #4
Tony_mc CreditAttribution: Tony_mc commentedCheers John,
Drupal version 6.17 I think
Webform 6.x-2.9
Components:
Name: Email, Key:email, Type:Email, Not required as I read this had to be the case to import
Name: Name, Key:Name, Type:Textfield, Not required.
Hope thats some help, im not the best at coding and things so apologies if not.
Thanks Tony.
Comment #5
jjemmett CreditAttribution: jjemmett commented6.x-1.0-rc1 was written for Webform 6.x-3.x.
Here is a patch that will make it work with Webform 6.x-2.x.
Comment #6
jjemmett CreditAttribution: jjemmett commentedChanging Category and Priority
Comment #7
Tony_mc CreditAttribution: Tony_mc commentedThanks so much for your help, I'll give this a go!
Comment #8
limeology CreditAttribution: limeology commentedI had a few errors at first, but I think I'm slowly starting to get this to work. In my context, I'm using this to bulk edit existing webform submissions. (The idea being you download the CSV, make updates, reupload and have it fix the records.) But the columns are different (import has a few extra columns because of markup fields, submission ID is at the end, etc.) It seems to mess up if I just try to reupload the downloaded CSV with modified values. What's the best solution?
First, is this an issue I'm supposed to be having? Can I somehow modify what Drupal downloads as the CSV to a format that better matches what import wants?
Thanks!
Comment #9
kirkhings CreditAttribution: kirkhings commented...
Comment #10
tomhung CreditAttribution: tomhung commented@kirkhings please post in a new issue.
Comment #11
gobinathmas mentioned in #5 RC1 version is for using with Webform 6.x-3.x. Hence try using the patch from#5 if you have same problem