Rich Content is returning as Undefined

Rich Content in a dataset is returning as Undefined even though there is content. Other simple text fields are returning as expected

let itemObj = $w ( “#dynamicDataset” ). getCurrentItem ()
console . log ( itemObj.SoundCloud ); //returns Undefined
console . log ( itemObj.clientName ); //returns SomeText


How can I determine if a Rich Content field is not empty? I want to collapse and hide the content IF it is empty, but no matter the content, it always returns as Undefined.

The key S oundCloud is wrong (data keys always starts with a lower case letter).
Try itemObj. s oundCloud