Hello! I attended the Experience Builder tips and tricks session at the 2025 ESRI UC and came away with some inspiration. I am trying to build what I would think is a very basic application. I have a map with two polygon layers included (water and wastewater service areas). These polygons overlap one another. I would like the user to be able to click on a location and return a text box corresponding to the service areas they are within. One of the last tips and tricks demonstrated seemed to display the functionality I have been going for. However, it appears that with the attached arcade script, only the top-most polygon layer is selected. Thus, I don't get the return I want if the user is in a location served by both services. I am new to Experience Builder, so perhaps I am making this more complicated than it needs to be? I tried using the near me widget and didn't particularly care for the interface or user experience.
Can you see if this Arcade code can be used successfully in ArcGIS Pro as that might be a simpler troubleshooting environment than a web application?
I haven't played with any of the Arcade features in Experience Builder yet, so I don't know if all these functions are available, but the code you would probably need would use $userInput and use it to run an Intersect function. I haven't done enough Arcade to write this full function off the top of my head.
For a no-code version, take a look at this build. You should be able to adapt it by using a layer like a parcel fabric or tessellation on top as the selecting layer.