Select to view content in your preferred language

Hide Variable/Curly Bracket Until Selected

5563
22
04-07-2020 06:20 AM
DevinLavigne
Frequent Contributor

In the Text Widget/Dynamic Text is there a way to hide the variable and the curly brackets until something is selected? Or a way to write an expression - i.e. If {County} = "" Then "" Else {County}? Seems like this should be easy but I'm not seeing anything. Thanks.

0 Kudos
22 Replies
MelissaBrooks
Frequent Contributor

Hi David, when is the next release planned? 

Cheers

Melissa

 

Melissa Brooks
Senior Geospatial Systems Specialist
Tasman District Council (New Zealand)
0 Kudos
DavidMartinez
Esri Regular Contributor

Hi Melissa, we just released the second week of April and our next release will be at the end of June. The option to use selected features with the Feature Info widget I mention above is in the current release. 

 

Cheers,

 

David

0 Kudos
MelissaBrooks
Frequent Contributor

I miss read the workaround, my scenario is akin to an asset viewer, so to select the first in a default view as a default value would end up misrepresenting what is on the map/expbuilder app and cause confusion to the user, UX would essentially be poor. is there a way to just show a default text of ""/nothing until clicked or when nothing is selection rather than the curly bracket {fieldname} as described above?  Thanks for your time, 

Cheers

Melissa

(New Plymouth District Council, NZ)

Melissa Brooks
Senior Geospatial Systems Specialist
Tasman District Council (New Zealand)