Embedded Data Variable Shows Correctly in Survey but not in Data Export | XM Community
Skip to main content
Solved

Embedded Data Variable Shows Correctly in Survey but not in Data Export

  • May 9, 2020
  • 2 replies
  • 30 views

Forum|alt.badge.img+3

Hi,
I have a loop and merge for a question, and save its values for later. In the survey flow, I first create embedded variables that are empty these are: "receiver1id" and "shared1" ... through "shared20".
The "shared1" through "shared20" work well: they are saved in data export.
The "receiver1id" shows in the survey, when I ask it to display receiver1id value. But is not in the data export.
My javascript code is shown below. Would someone know why "receiver1id" does not save, but the other variables do? Thank you!

//STORE ID
var receiver1id = "${lm://Field/1}";
//STORE WHICH VIDEOS WERE SHARED IN THE CURRENT LOOP
var shared1 = "${lm://Field/2}";
....
// output to id
Qualtrics.SurveyEngine.setEmbeddedData("receiver1id", receiver1id);
// output to shared vars
Qualtrics.SurveyEngine.setEmbeddedData("shared1", shared1);
...

Best answer by Marta

Sorry, I found my error. Thanks!

2 replies

Forum|alt.badge.img+3
  • Author
  • Answer
  • May 9, 2020

Sorry, I found my error. Thanks!


  • May 12, 2020

Hello can you please share what it was :)