Embedded data field assigned file from file library | XM Community
Skip to main content
Question

Embedded data field assigned file from file library

  • April 16, 2020
  • 1 reply
  • 33 views

Hi, I would like to give an embedded data field the value of the information needed to call an audio file from my file library, so that when I call the embedded data field in a question, it is as if I inserted the media in the question (so that I can randomize the audio file that is called with just one audio question).
Thanks for any help.

1 reply

npetrov937
Level 2 ●●
Forum|alt.badge.img+4
  • Level 2 ●●
  • April 19, 2020

Say this is your code for displaying an audio file (just copy-pasting the auto-generated HTML):



Then, just change the field's unique ID - in this case "F_dpuzYUuYaBrGcmx" - with Piped text from embedded data. Let's say you have an embedded data variable called "media" with the value of "F_dpuzYUuYaBrGcmx". Your HTML would look like this: