Select to view content in your preferred language

Exp Builder DEV 1.18 / 1.19 - List Widget Behavior

351
4
a month ago
JeffMertzXcel
Regular Contributor

I have a out of the box List Widget connected to a map layer (A) which has an enormous amount of records (~450k). In the Map Widget, I can set an extent change and filter the records out - works fine (305 documents in this area).

JeffMertzXcel_0-1763668598394.png

I also have a record selection filter, so that when a user selects a polygon from another layer (B), it filters the list to only those records where the condition B.id = A.id. Sometimes it works, sometimes there is leftover documents in the list - as shown below, there should only be 2, but the list contains others.

JeffMertzXcel_1-1763668816754.png

When that selection clears, the list reverts to the original state of all the records - it loses the filtered list by extent. This causes an unpleasant user experience.

JeffMertzXcel_2-1763669034267.png

The work-around is to have the user pan or zoom the map, then the list filters again to a reasonable size. Is this expected behavior? 

0 Kudos
4 Replies
JeffMertzXcel
Regular Contributor

Updated post to include version 1.19 - same issue is present in the latest version.

0 Kudos
JeffMertzXcel
Regular Contributor

Just wanted to provide an update to this. The data being used in the List Widget is coming from and external source. Worked with Esri support on this and the widget works fine with local, known data. Turns out, we believe that the list is behaving like this due to the objectids not being unique. Still stumped as to how a Map Service was published with non-unique objectids. This issue was resolved by cloning the data and hosting it locally in our Portal (each record now has a unique OID). List widget works fine now for the first two screenshots above.

The second issue is being looked at by Esri through a second ticket. We are not sure if the scenario of "un-selecting" should cause the List Widget to reset back to the original items. Thinking it should go back to the list of items that was filtered by map extent. Waiting to hear back on that to determine if it is a bug or an enhancement request.

0 Kudos
JeffMertzXcel
Regular Contributor

BUG-000181406 has been entered for the issue above - "List widget in ArcGIS Experience Builder does not honor filter set for map extent after unselecting a feature in the map."

0 Kudos
JeffMertzXcel
Regular Contributor
0 Kudos