You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly ImportX saved me from having to manually add loads of data so the pain was worth it but what I found is if the last field can be blank in some records, then errors occur.
My hack solution was to move a field that always had a value to the end.
Hmmm I guess it probably complained about an incorrect number of fields in the row?
Right now the CSV parser is something custom built, but I am thinking of using something more robust that supports more CSV features in the future that should sort out stuff like this..
I needed to import data compiled by a 3rd party in an Excel file and these are the steps (not including moving a field to the end of the table):
Choose a deliminator and search the Excel file to make sure it is not being used. I used pipe in this case.
Choose a temp comma replacement and search the Excel file to make sure it is not being used. I used hash in this case.
Find for all double quotes and remove them from all cells
Find all carriage returns within cells and replace with comma space (otherwise they appear on a new line in the CSV)
Replace all commas with the temp comma replacement (#)
Export to CSV
Open in text edior
Remove all double quotes (as otherwise ImportX will import them)
Replace all commas with the new deliminator (I used pipe)
Switch back the comma replacement with commas
Remove the blank lines at the bottom
Its still far less effort than having to manually enter the data and deal with the data capture errors but it would be great if one could import an Excel file directly as this would remove the majority of the steps.
hello
Firstly ImportX saved me from having to manually add loads of data so the pain was worth it but what I found is if the last field can be blank in some records, then errors occur.
My hack solution was to move a field that always had a value to the end.
James
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: