Select to view content in your preferred language

Pop-up title colour change according to arcade

427
1
02-22-2024 06:38 AM
Labels (3)
PSGeo
by
Regular Contributor

Hi,

I am using arcgis enterprise 10.9.1.

I want to change the title of the pop-up according to the arcade code. it works. I save it. and when I refresh the page the title is back to original set... with no arcade in it.

<div style="padding:5px;background-color:{expression/expr1}">
Headquarters name: {name}</div>

 

expr1:

var CD = $feature.country
when (CD== "USA", "#ed5151",
      CD== "UK", "#f086d4",
      CD== "Italy, "#c500ff",
      CD== "", "#fffff",
      null)

 

 

cheers

P

Tags (2)
0 Kudos
1 Reply
MK13
by
Frequent Contributor

@XanderBakker I too, am curious about how to change the background color of the pop-up title. Is it possible?

0 Kudos