Select to view content in your preferred language

Displaying popup only in Feature Info widget.

10200
17
Jump to solution
09-02-2021 11:23 AM
Labels (1)
Boyang_Wang
Frequent Contributor

I am using Feature Info widget in my map, so there is no need for popup window on the map. However, if I disable popup in the web map, the content in Feature Info reverts back to default as the content is inherited from the popup I believe. Is there a way to retain my custom popup content to be displayed in Feature Info widget, but at the same time have the popup window on the map disabled?

Thanks.

17 Replies
B_NewGE
Occasional Contributor

Did you find the workaround by chance? We are in the exact same boat. We only want one layer to be featured in the Feature Info widget. Currently, we have to have pop ups enabled and we're experiencing the redundancy of showing the pop up in the map and the feature info. To be frank, it's bad design. 

0 Kudos
AdamGebhart
Frequent Contributor

@B_NewGE 

I am setting up a Developer 1.18 app right now and don't see that anything has changed.  At least I can't seem to find a way to configure everything the way I want.  Like some of the others in here, I just want the ability to click a feature and have its configured popups display in Feature Info only.  I don't want what you see on the left to show up at all, for any of my layers.

AdamGebhart_0-1761333492435.png

 

0 Kudos
ZachBodenner
MVP Regular Contributor

Then you want to go into your map widget, scroll down to Options, and then toggle off the Enable Pop-up option:

ZachBodenner_0-1761333784244.png

 

That doesn't kill the popup from the web map, meaning Feature Info will still work, but the ExB will not show the popup.

Happy mapping,
- Zach
0 Kudos
AdamGebhart
Frequent Contributor

Here is something that got me closer to what I want.  I at least get the Feature Info widget to open when I click the desired feature (with configured popup).

In the Map widget add a Trigger.  Select Record selection changes.  Under widgets, select Widget Controller (mine are in a widget controller).  Then select 'Open widget'.  

Now when I click my feature the Feature Info opens automatically and the configured popup is displayed.

The downside?  The popup within the map still shows up.  If I disable Map > Options > Enable pop-up then neither work.

0 Kudos
AdamGebhart
Frequent Contributor

Thanks, @ZachBodenner.  Unfortunately, that prohibits the user from clicking a feature and seeing its information in Feature Info.  The specific app I'm working on right now has only a handful of users so I'll just have to make sure they understand why they might see duplicate popups. 

My hope is ESRI comes up with another way of getting this to work though as we have some apps that are heavily used by the public and I'm sure that will generate more confusion for them.

0 Kudos
ZachBodenner
MVP Regular Contributor

That's really strange, disabling the popup shouldn't disable selection/interaction. What you're describing is the exact setup I have in the ExB that I screenshotted (as well as others): popup enabled in Web Map, Feature Info widget set to show selected feature, Map widget with popup disabled. 

Happy mapping,
- Zach
0 Kudos
AdamGebhart
Frequent Contributor

I just tried that again and it didn't work (again).  What's really odd too is when I disable the popup and try to click a feature, in this case an address point, the click somehow selects a polygon layer.  I don't have a popup configured for it, nor do I want the user to do anything with that layer other than visualize it.

Just to be clear, you're able to disable the popup via Map widget > Options > Enable pop-up, add the Feature Info widget and configure it to load the AGOL popup on one or more layers, and click said feature(s) and see their popups displayed in Feature Info?  

I am not using the Select widget in any way, are you? 

0 Kudos
ZachBodenner
MVP Regular Contributor

Yes, that's correct, and I mostly do not use the select tool, though I have used both in the past.

Happy mapping,
- Zach
0 Kudos