I'm having trouble inserting HTML code in an arcade expression in the Map Viewer popup configuration and have the HTML code be processed not as a text string. I'm using template literals rather than single quotes around the HTML code. However, the Map Viewer interpreter does not process the value like the javascript interpreter does and displays the HTML as text in the popup window.
I read this post Solved: Arcade expression correct but doesn't show up in p... - Esri Community where it is mentioned that there are two types of arcade you can configure in the popup window, arcade expression and arcade element. Here's the image showing the two in the post and that you can add an arcade element using the "+ Add content" button, then "</> Arcade"
However, I'm not seeing that "</> Arcade" option when I go to add it. I'm using Enterprise 10.9.1.
Does anyone know what version is that arcade element option available?
Also, why wouldn't the expression work? I figure that the Map Viewer wouldn't interpret it as vannila javascript would and that is understandable, but is there another way to use arcade expression and still get injected HTML code to display correctly?
Appreciate any help you can give.