Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data export to xml resulting in no-name fields #15

Open
Colbyat opened this issue Jan 22, 2024 · 0 comments
Open

Data export to xml resulting in no-name fields #15

Colbyat opened this issue Jan 22, 2024 · 0 comments
Labels

Comments

@Colbyat
Copy link

Colbyat commented Jan 22, 2024

Recreation steps:

This is on a fresh site, I created a webform with 2 fields as seen below:
image

I then created a view to export the data to xml:
image

Which resulted in it pulling the data but not the labels for that data:

<?xml version="1.0" encoding="UTF-8" ?>
<webform_submissions>
  <webform_submission>
    <Serial-number>1</Serial-number>
    <no-name>1</no-name>
    <no-name>Test School 1</no-name>
  </webform_submission>
  <webform_submission>
    <Serial-number>2</Serial-number>
    <no-name>2</no-name>
    <no-name>Test School 2</no-name>
  </webform_submission>
</webform_submissions>

I also tried exporting to csv, same issue:

"Serial number","",""
"1","1","Test School 1"
"2","2","Test School 2"

I tried the block view below:
image

And that yielded the correct results:
image

Thank you.

@herbdool herbdool added the bug label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants