Hey folks, am I missing something within this new map viewer? Super frustrating to work with Arcade Expressions. I am using the following document without any success Introducing Arcade pop-up content elements . When referencing a variable the format described in the document does not work. For example, using the Rich Text Template:
var cpoName = IIF(IsEmpty(Trim($feature.CPONAME})),"","CPO Name: ");
return {
"type" : "text",
"text" : '${cpoName}' //this property supports html tags
}
However, when I remove the quotes - all is good. Am I missing something or is the documentation that bad? I understand it's a big transition from Classic to the New Viewer but the functionality should be the same. Anyway, has anyone else experienced this.
Jim L.