Search layer result: prohibit popup

176
2
Jump to solution
04-03-2019 12:47 PM
JamesCrandall
MVP Frequent Contributor

We're using url parameters for feature searches on an embedded webmap that works great to zoom into selected features.  However we have a requirement to prohibit the popup from automatically displaying on found feature search results. 

Is it possible to prohibit the popup in a url parameter?  We need the popup that is already configured for the layer, but it needs to not automatically show for search results.

Thanks!

0 Kudos
1 Solution

Accepted Solutions
KellyHutchins
Esri Frequent Contributor

This isn't currently possible using the out of the box embed. In order for this to work you would need to download the source code for the app from GitHub. Then host the app on your own web server and modify the code to set showInfoWindowOnSelect to false for the url param search. 

View solution in original post

2 Replies
KellyHutchins
Esri Frequent Contributor

This isn't currently possible using the out of the box embed. In order for this to work you would need to download the source code for the app from GitHub. Then host the app on your own web server and modify the code to set showInfoWindowOnSelect to false for the url param search. 

JamesCrandall
MVP Frequent Contributor

Ok thank you!  Unfortunately, we've moved away from embedding the viewer app and consolidated into a single webmap.  The app that it is embedded is already deployed into dev/test/prod versions and would be a major change to implement.

Thanks again!

0 Kudos