Select to view content in your preferred language

Clear manuel selection of list, when polygon is selected

228
3
a month ago
KennethLindhardt1
Frequent Contributor

I hope my diagram helps to show my issue. We are filtering a lot of textbox widgets to show the correct information from the clicked polygon. My issue is that when we have a 1:M relation, we will need to do a manual selection of the list that is filtered out. Example. In an apartment area, we have multiple addresses, with multiple owners. Clicking on a parcel, et will filter a list with all the addresses in that parcel. In the textbox we will need to show the owner's information. It works the first time I use that function, but clicking on a new parcel, I would need those owners to be cleared, so you don't make that mistake and take the wrong apartment owner.
Thanks

KennethLindhardt1_0-1747386910345.png

 

0 Kudos
3 Replies
Allen_Zhang
Frequent Contributor

Hi @KennethLindhardt1 , maybe you want "Selection change" triggering "Filter data" action?

Allen_Zhang_0-1747620269875.png

 

0 Kudos
KennethLindhardt1
Frequent Contributor

Thank you Allen.

I'm not sure what you mean. 

I clock on a map to choose a polygon, that will show all the addresses in a list 1:M That works.

The next step is to choose an address that will filter out a table with matching attributes to the owner table. That also works.

The issue is, when I choose a new polygon in the map the selection of the address is not cleared, since it was a manual selection. The address list is updated, but since the selection is not removed, the owner from the previous selection of the address is still shown, until I select a new address, then it will update.
I need it to clear my manually selected address, when it's not a part of the filtered list from the polygon.

 If you build another step in your example, where you add a text connected to data from one of those to "Features" shown in your list. Will your new text box then clear if you choose another row in your table, or will it keep the previously selected list element?

Thanks

 

0 Kudos
Allen_Zhang
Frequent Contributor

Hi @KennethLindhardt1 , I finally understood your issue.

The problem is that the filter does not clear the selection.

Say a data with 3 records A B C, select A, and then set a filter of (B, C), the A is still in selection even it has been filtered out, which is out of my expectation.

0 Kudos