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

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

  • Feb 21, 2020 10:33 PM UTC
  • 1 reply
  • 22 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 ●●●●●●●●
  • Feb 22, 2020 3:53 PM UTC
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.