Hi,
I have a field with the url for pdf.
When creating a popup and adding a hyperlink (more info),
They appear all the time even if the field has data or not.
How can I only show it (mor info) when the field has data?????
If you want to only display the link if the field is filled in, you'll need to use an expression. Arcade has a function IsEmpty that would work well here.
var p = $feature.pdfField
if(IsEmpty(p)){
return 'No PDF'
} else {
return p
}
thank you Josh.
but I really can't use the expression.
I guess it would be helpful to know the context in which you are working, and why something like the expression above doesn't fit your situation.