Web SDK configuration - return empty string | Community
Skip to main content
Michael_Soprano
Level 10
February 13, 2026
Question

Web SDK configuration - return empty string

  • February 13, 2026
  • 1 reply
  • 0 views

Assume that my Data Element is not found on a page - Web SDK would return error. 

There this functionality would prevent such a situation? Do you turn this on on your implementations? 

 

1 reply

arpan-garg
Community Advisor
Community Advisor
February 16, 2026

Hi ​@Michael_Soprano  - Yes this should work the same way as described, if the data element is used within a rule and is not defined in library you will get undefined, using this checkbox will make sure empty is returned.

bjoern__koth
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
February 17, 2026

What I am missing in the Web SDK Extension is an auto-cleanup mechanism that removes empty attributes from the XDM to make this type of question redundant.

Cheers from Switzerland!