We have a field name: valve service SDE. The attributes are either "null" or a "url" We have a working expression for the url to be returned. We need an expression for when the attribute is "null" return the text "No Service Card"
There's also DefaultValue, which was made for this very thing. If there's a value, it returns, otherwise it falls back to the value you specify.
Hey @FranHarvey2
Here is a short arcade script that does just that if your feature is in this format:
var service = $feature.valve_service_SDE; if (IsEmpty(service)) { return "No Service Card"; } else { return service; }
Hope that helps!
Cody
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.