'Remove null attributes with table row from popup using Arcade expression in ArcGIS Portal
I am using the HTML code to configure the popup
<font size="2">
<table border="1">
<tbody>
<tr>
<td><b><font color="#000000">Land Class :</font></b></td>
<td><b><font color="#000000">{land_class}</font></b></td>
</tr>
<tr style="display:{expression/expr1}">
<td><b><font color="#000000">Name of Allottee :</font></b></td>
<td><b><font color="#000000">{name_alote}<br /></font></b></td>
</tr>
</tbody></table></font>
using expression
IIF(isEmpty($feature.name_alote), "none", "inline")
and the output is shown like this
But I want, if the value is null then the complete table row needs to be removed.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|