Select to view content in your preferred language

Experience Builder Feature Info for Multiple Layers

9226
38
07-08-2020 12:47 PM
ChristopherEby2
Regular Contributor

I have a web map with 13 layers. I'd like my experience builder app to have a side bar with a Feature Info widget that changes to show the details of the selected feature no matter which feature is selected. Is there a way to do this?

Right now I can only see how to associate a Feature Info widget with a single layer. I don't see a way to show or hide widgets based on selections so I can't create a Feature Widget for each layer and show them when their respective layer is selected.

38 Replies
SarahTaigelNRT
Emerging Contributor

Is this functionality now live? 

0 Kudos
WeiYing1
Esri Regular Contributor

Yes, since June 2024AGOL release, the Feature Info supports multiple layers

0 Kudos
JoeRathvon
New Contributor

I am glad this is now live but It still doesn't compare to the Instant App implementation.  Why can't EB have the same functionality as IA?

0 Kudos
WeiYing1
Esri Regular Contributor

@JoeRathvon Thanks for your feedback! Instant app create map-centric application, but ExB app is not always map-centric. So the FeatureInfo is designed to be data-centric, where the UX might be different.
But we do value user experience and would like to enhance based on your feedback. Would you mind tell us what exact features are you looking for? 
Btw, in the coming Nov release, FeatureInfo in ExB has another enhancement that it connects to Map widget by default if exists, which means you do not need to manually add the layers from map. Also, if for data-centric purpose and without Map widget, it also allows you to add multiple layers by just one click from the a map. Hope these features improves the experience. 
Thanks! 

0 Kudos
JeffreyThompson2
MVP Regular Contributor

@WeiYing1 Everyone on this thread is looking for a popup replacement widget. Maybe it's not easy to modify the Feature Info Widget to fit this purpose. The way the select function operates could make such a modification extremely difficult. But, it shouldn't be that hard to build a widget that calls in the Features widget from the API.

GIS Developer
City of Arlington, Texas
WeiYing1
Esri Regular Contributor

Thanks for pointing out @JeffreyThompson2 .
But FeatureInfo is exactly based on the Features widget from API. We will take a look of all the feedbacks and see if we can enhance it. 

0 Kudos
JeffreyThompson2
MVP Regular Contributor

@WeiYing1 I'm sure you are aware of it, but I just want to say you are welcome to use my popup replacement widget as inspiration or a coding example. I think having a user accessible on/off switch, the labeled tabbed presentation and the way it is intended to work with a Sidebar are all significant improvements over the standard ESRI popup. As is, it is far too rough for general users. But you guys are much better coders than me, you could clean it up.

https://community.esri.com/t5/experience-builder-custom-widgets/identify-for-experience-builder-1-14... 

GIS Developer
City of Arlington, Texas
BlakeTerhune
MVP Regular Contributor

@WeiYing1 

I'm attempting to use the Feature Info widget as a replacement for the regular pop-up. When I add multiple layers and click on the map, the Feature Info widget only includes content for the first one highlighted instead of everything from the hit test of the click (like the pop-up does). Is there a way to get the Feature Info widget to display pop-up content from all the configured layers at once (like the pop-up does)?

0 Kudos
WeiYing1
Esri Regular Contributor

Thanks @BlakeTerhune for sharing your feedback. I see the problem, currently with FeatureInfo, although it supports multiple layers, when you click on map only one feature selection would be apply. It is also a limitation on Map widget as well. I think we can improve that UX in future. I have logged an issue to work with. 
Thanks!