I'd like to know if there is a way to set the color of feature layer symbology using an Arcade statement.
What I'd ideally like to do is something like this, but I can't seem to find the correct syntax. The part in question is the if the color feature can be set.
When( $feature.Device_Due_Date > DateOnly(), $feature.color = #000000....
I'm not certain if color is a property of the $feature that can be accessed, but I think it recall in ArcGIS Online Maps that it's a property that can be set using a hex color as shown above.
Thank you
UPDATE: sorry, I see this is in the ArcGIS Pro section, not ArcGIS Dashboards. Let me see what else I can find if the info below doesn't help.
for ArcGIS Dashboards - Yes, you can. Upon a quick skim, this post by my colleague, @JenniferAcunto , describes how to do this.
Thanks for the reply. I think I should have specified that I was trying to do this in ArcGIS Pro. I'm not certain if the syntax is the same as doing this in one of the online applications.
on the surface, it appears to be possible, but I have not tried it (yet). these may help you figure it out!