I have a field named CVA_Partner_ and it has a value of either yes or no. If it is yes, Yes, Y, or y, I need it to display an image in the pop-up. Otherwise I don't want anything to display. I selected 'add content', 'image', and I placed the an expression in the URL field, but nothing happens in the pop up. I seem to be confused have this works.
Below is the expression:
if ($feature.CVA_Partner_ == "yes" || $feature.CVA_Partner_ == "Yes" || $feature.CVA_Partner_ == "Y" || $feature.CVA_Partner_ == "y") {
return '<img src=".../sharing/rest/content/items/78df60bf1f274f26b96176d9975cdbf7/data" alt="Image">'
}