Do embedded data fields brought in through an API and without a value have a ghost value? | XM Community
Skip to main content
Question

Do embedded data fields brought in through an API and without a value have a ghost value?

  • February 21, 2020
  • 1 reply
  • 12 views

Martin_O
Level 2 ●●
Forum|alt.badge.img+11
Our organization has a field called emphasisDescription brought in through an API. When I try to use branch logic and assign it a value "if empty" it doesn't work. Any ideas?

1 reply

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • February 22, 2020
Maybe the API is returning a space character. You can use JavaScript and the browser console to figure out what exactly is in that fields and its length is. You can then modify your branch condition accordingly or use JS to modify the value.