Select to view content in your preferred language

Question about Creating Expressions in Experience Builder Text Widget Dynamic Content

653
0
05-01-2023 01:30 PM
Labels (1)
bphillips
New Contributor

I am trying to use the Text Widget in Experience Builder Developer Edition (ArcGIS Enterprise 10.7.1) using Dynamic Content to return data using specific fields.  I am trying to return a "0" if a selected address (Point) falls in a specific City Limits (Polygon) and an "2" if it falls outside them.  Maybe using a if / else statement.  I can't seem to get it to work.  Is this possible or is the Dynamic Content Expression only limited to the Expression Functions Average, Count, Sum, Max, and Min?  I was also thinking I could use a Count function using a view saying if the count is greater than 0 return "0" else return "2".  I wasn't able to get that to work either.  Is there a way to do this in the Text Widget or some other way to do this?  Any help would be appreciative.  Thank you in advance!

0 Replies