I am creating a web application using WebAppBuilder through ArcGIS Enterprise, and am trying to leverage the Attribute Actions through the Smart Editor widget. I'd like for the user to be able to draw in a road detour, and based off the buffer set in the Attribute Actions, auto-populate the fields from the intersected road closure.
However, when I draw in the detour route, it pulls the information from an inactive closure (highlighted in red), which is not the information that goes with the associated detour (we would like the information from the pink road closure).
When I researched the tool, the help stated:
If the edited feature intersects multiple values, the record will be sorted by object ID, and the first object will be used.
Is there any way to sort descending, as I'd like the detour to read the latest Object ID. We do not have access to Developer, but am confident with editing through ArcGIS Online Assistant.
arcgis online webapp builder arcgis - enterprise smart editor
I have my inactive status set through an arcade expression, so I cannot filter based on the expression. I have the inactive layer turned off for symbology, but it still pulls that data when I draw the new line.