.setEmbeddedData not populating in export | XM Community
Skip to main content
Question

.setEmbeddedData not populating in export


Forum|alt.badge.img+1

I have a few embedded data fields that I am trying to populate with timestamps at certain progress milestones throughout my survey. They appear to be working in the survey preview but when I export the data these fields are all blank. I’ve been able to successfully export some other embedded data fields also set through javascript, so I can’t work out why these ones aren’t working.

 

The embedded data fields are created at the top of my survey flow with the type set to date:

 

Throughout the survey I use javascript to set the value

 

 

And I’m pretty sure it’s working because if I pipe the timestamps in to a question at the end of the survey I get appropriate data

 

But when I go to export my dataset all of the fields are blank.

 

I’m pretty stumped, I don’t understand why I would be able to pipe data from the embedded data field but not see it in the export?

 

Any help much appreciated,

Thanks

Katie

3 replies

Forum|alt.badge.img+16

Hi ​@KatieAK ,

When you use variable date, it only allows certain format to be save, even if you already “set” the embedded value.

I think if you use variable text, you can get the same timestamp in your export.

Or try to format the Date() values into those Qualtrics acceptable formats for date.

 

Taking number type and text type as example, you can set embedded data

abcNumberType = abcd

abcTextType = abcd

Using piped text of both embedded data will appear abcd.

But the embedded data abcNumberType will become blank/empty once submitted into the Data & Analysis tab since it is not number.


gPandey_715
Level 2 ●●
Forum|alt.badge.img+5
  • Level 2 ●●
  • 27 replies
  • March 6, 2025

Hi ​@KatieAK,

I wanted to check if you can see the date values in the Data & Analysis tab before exporting them.


vgayraud
QPN Level 5 ●●●●●
Forum|alt.badge.img+48
  • QPN Level 5 ●●●●●
  • 357 replies
  • March 6, 2025
Date().toISOString()

 


Leave a Reply