Select to view content in your preferred language

Combine 2 widgets in a single one

1181
5
06-23-2022 01:44 AM
Labels (1)
Valentin
Occasional Contributor

Hello there, 

I was wondering if there is a way to combine 2 widgets (filter with table) in a single one. It seems it is not possible right now to do so without coding anything so i need the code of these widgets.

I know there is a repository on Github with custom widget (https://github.com/Esri/arcgis-experience-builder-sdk-resources) but i would to know if we could do this without coding anything.

 

Any advices is welcome ! 🙂

0 Kudos
5 Replies
TianWen
Esri Contributor

Thanks for the post! What specific capabilities for the two widgets do you want to include in your "new widget"?

0 Kudos
Valentin
Occasional Contributor

Hello, you're welcome

I want capabilities of the 2 widgets. I mean , i would like when i click on the widget ; the filter widget capabilities and the table (or feature infos) widget capabilities in a same "window".

So, instead of placing 2 different widgets (filter and table for example), you just have one widget which do the job of both of them. 

I don't think i made myself clear ahah, so here is a picture of how i imagined the widget should be : 

Valentin_0-1656059767265.png

So, the widget will open this window (in the red form) which includes functionnalities of the filter and table widget.

 

I hope you could understand me.

 

Any advices is welcome 🙂

0 Kudos
TianWen
Esri Contributor

I think you can try to use the sidebar layout and put the two widgets that you want in it.

0 Kudos
Valentin
Occasional Contributor

Yeah sure but that is not exactly what i would like. 

I was thinking about a custom widget which i can have in all my future app, but if we are talking about custom widget i surely have to code it myself.

0 Kudos
Rayn
by
Emerging Contributor

i know this is old but i haven't seen anything else about this.  In web app builder you could just drag and drop a widget onto another widget and they would display as one in the controller which you could click and the menu for both would popup together.  For instance, i used this with the query widget and the info graphic (now chart widget in EB) in the top i could query a layer and have the info graphic below it display the results in a pie chart.  Currently in EB i can do all that but the user has to open both widgets and arrange them to do the same as far as i can tell.  It would be much smoother to combine so is it possible to do that to add 2 widgets into a single click? thx

0 Kudos