Select to view content in your preferred language

Click on a button in a widget List without select the occurence

492
3
10-19-2022 02:13 AM
Labels (1)
JasonBOCQUET
Frequent Contributor

Hello community 🙂

 

I have a Widget List that lists buildings. I integrated a widget button in this list. When i click on this button it's open a new windows with a form about the building.

 

The other tool that i use with my list, it's a count to know how much building i've selected in my list, and it's possible to see in a cartographic view what i've selected on a map.

 

The problem that i have it's the following : when i click on one button to see a form about the building in my list, it also select the building in my list. However, i would like to be able to click on the button without it selecting a building.

 

How it's possible ?

 

I don't want to unactive the possibility to select a building in the list because it's a feature that i need in my site. But it would be great if i can click on my list, select a building except when i click on the button that i've implemented in the list.

JasonBOCQUET_2-1666170447466.png

 

Here is a screenshot about the architecture of my list+button.

 

Thanks 🙂

 

 

0 Kudos
3 Replies
TonghuiMing
Esri Regular Contributor

Hi @JasonBOCQUET 

 

Well, first of all, what you've seen is the expected behavior for the List widget; however, the proposed behavior can NOT be achieved, since the two parts of what you want contradict each other - 

I have a Widget List that lists buildings. I integrated a widget button in this list. When i click on this button it's open a new windows with a form about the building.

The problem that i have it's the following : when i click on one button to see a form about the building in my list, it also select the building in my list. However, i would like to be able to click on the button without it selecting a building.


You mentioned you want to see one form for each item when you click on the button to display the window - I assume they are dynamically generated, instead of creating say, 100 windows for 100 features.

If that's the case, and the form on it is dynamically linked to each feature, then the item must be selected to show different information (form details) - done by the feature selection.

This means that, if you click on the button without selecting the feature, then you would not be able to see the associated form for that feature at all.

 

Hope it help clarifies your concern.

0 Kudos
JasonBOCQUET
Frequent Contributor

Hi @TonghuiMing 



You mentioned you want to see one form for each item when you click on the button to display the window - I assume they are dynamically generated, instead of creating say, 100 windows for 100 features.


I think there is the major problem that i have : the form of each item are not dynamically generated.

I have 2 datasets that i need to communicate together.

 

Data 1 : List of Building

Data 2 : List of Society who occupied the building with a lot of field that i need to exploit.

 

My list widget use data 1 and i want, when i click on the button "Fiche Immeuble" to see a form about the building that i choice but while using data about Society (data 2)

The common ID was the name of building to join the information.

 

So i start to create a new page on Experience Builder, called by a click on the "Fiche Immeuble" where the name of the building on which i clicked in my list appears and where i want to start to create request from this name with my second data set (but i don't know how to do that).

But the first problem is : when i click on a button, it's open my new page with "Building 1" for example. If i turn back and choice the "Building 2" i have to unselect Building 1 otherwise it continues to show me "Building 1" in the second page. 

 

I don't know if it's clear but if you have an idea of what i mean, i hope you can help me.

Maybe i'm on the wrong solution. But i have no more idea to set up this things.

0 Kudos
DaveFullerton
Frequent Contributor

Without reading all of the responses, you might consider giving Kudos for  and following the Idea I submitted about this type of problem:

https://community.esri.com/t5/arcgis-experience-builder-ideas/clicking-buttons-embedded-in-a-list-sh...