Hello all,
I'm attempting create a symbology arcade expression to dynamically update a polygon layer in a web map based on the numerical value of a single field. In this case, the polygon layer is called "Polygons_edit" and the field name is "well_radius_us_ft". In this field, users can select one of the three options: 25, 50, or 100. When this data is entered, I'd like for the layer to update its symbology to show the feature buffered by that number in feet. I've tried the simple buffer function in arcade to no avail. The expression box accepts the expression as if it works, but then the symbology box only displays data with "other" and with none of the features with 25, 50, or 100 well radius values. Help?
The symbology profile of Arcade won't do what you're asking it for. It's really just for generating symbol classes. It cannot alter the symbology itself. It will accept any expression that returns a value, and will attempt to convert it to text, then use that text to define your categories.
This makes sense. Thank you for sharing. Is there any way to automate a process like this within a web map instead of an external SQL or Py job?
Hello all,
I'm attempting create a symbology arcade expression to dynamically update a polygon layer in a web map based on the numerical value of a single field. In this case, the polygon layer is called "Polygons_edit" and the field name is "well_radius_us_ft". In this field, users can select one of the three options: 25, 50, or 100. When this data is entered, I'd like for the layer to update its symbology to show the feature buffered by that number in feet. I've tried the simple buffer function in arcade to no avail. The expression box accepts the expression as if it works, but then the symbology box only displays data with "other" and with none of the features with 25, 50, or 100 well radius values. Help?