Select to view content in your preferred language

Phase Bar Pop Up coming in blank

277
0
08-15-2023 01:53 PM
Labels (1)
medinamilam1991
New Contributor

I am using two codes to create a phase for my capital improvement dashboard. I the codes are 5 years old and I can't figure out what is wrong. I just doesn't work. 

 

The first cold gives the color in the Attribute Expression. 

IIF($feature.Status == 'Design', 'background-color:#800080', 'background-color:#808080')


The second code I am using is HTML in the Text pop up of the layer.

<span><b>Phase</b></span>
<table style=" border-collapse: separate; border-spacing: 6px 4px; width: 100%; table-layout: fixed;">
  <tbody><tr height="16">
    <td style="{expression/expr0}"></td>
    <td style="{expression/expr1}"></td>
    <td style="{expression/expr2}"></td>
    <td style="{expression/expr3}"></td>
  </tr>
  <tr height="24" style="text-align: center;">
    <td>PreDesign</td>
    <td>Design</td>
    <td>Construction</td>
    <td>Closeout</td>
  </tr>
</tbody></table>
Can someone please point me in the direction. I can't figure out what I am doing wrong. 

 

0 Kudos
0 Replies