Hello everyone,
Does anyone know if is possible to use arcade to dynamically filter point data of one layers based on a common field of another layer?. The situation is that we have a point feature service that we are not allow to edit. We are using the external service to collect data using Survey123. The new created Survey123 layer is displayed on top of the original source layer and I want to remove (hide) the point from the external service if the point ID is the same as the ID on the Survey123. I don’t know if this is possible with arcade. Thanks for any ideas or suggestions!
JB
Solved! Go to Solution.
Unfortunately, no. Arcade isn't even used in the web map filters, so you won't be able to filter layer A based on layer B. You may be able to do this with some odd workarounds, maybe editing the filter in the web map's JSON using Python? But even then, you'd have to refresh the map to update it, it wouldn't be dynamic.
Dashboard Data Expressions could certainly do this, but that doesn't do you much good for displaying the data on a map.
Unfortunately, no. Arcade isn't even used in the web map filters, so you won't be able to filter layer A based on layer B. You may be able to do this with some odd workarounds, maybe editing the filter in the web map's JSON using Python? But even then, you'd have to refresh the map to update it, it wouldn't be dynamic.
Dashboard Data Expressions could certainly do this, but that doesn't do you much good for displaying the data on a map.
Thank you Josh!