Hello,
You should allow the use of white spaced when defining the column names of a CSV export. Technically, a CSV column name can contain white spaces.
I'm in a case where I have to export data using CSV, to import them in another plateform. The other plateform have column names with spaces, and I'm unable to export data actually because I can't reproduct the name in the column name.
Even if it's changing core module, I need to be able to generate the export quickly, could you please point me the right direction to disable that check ?
Thank you
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2025-06-19_16-12-20.png | 257.51 KB | super_romeo |
Comments
Comment #2
goldIs this still an issue? I have a View at the moment where this is an issue with the JSON output, but the CSV works fine.
@Alexandre360, create a view using fields and add a label with spaces to one of them. I'm currently having that label render fine.
Comment #3
steven jones commentedAs @gold has said, you can already do this with the CSV encoding, but not json encoding. So, closing this issue out.
Comment #4
super_romeo commentedYes, it's still the issue.

That's what this change is about: Only allow machine like names for the field alias row plugin
Comment #5
super_romeo commentedComment #6
super_romeo commentedComment #7
super_romeo commentedI solved it!
Leave "Alias" fields empty in "Data export: Row style options" dialog (Format/Show/Settings).
+ For all fields fill checkbox "Create a label" and fill in "Label" field.
Comment #8
steven jones commented