I have created a Media Map with a custom URL parameter as described here:
Configure a web app using URL parameters | Documentation | ArcGIS Developers
The URL parameter works, but when the feature is selected, the popup with the feature attributes appears in its full expanded state. Is there a way to disable the popup or at least have it open only in its collapsed state (preferably via a URL parameter, but any means would do)? I've tried removing the popups from the Media Map's webmap, but that didn't make any difference -- the pop-ups still appear.
Thanks in advance for any guidance you can provide.
Solved! Go to Solution.
@KellyHutchins Perfect! That is exactly what I was looking for. Thank you so much for your help!
@JeffKapellas there is an undocumented URL parameter you can use to not show the popup when using a url param. If you append urlParamAsFilter=true to the url then it will filter the map to show all the features that match the input value. So in this example it will only show France and will not display the popup.
We do have plans to make this a configuration option but haven't yet done so. If you don't want to append it as a URL param you could use a tool like AGO Assistant to edit the app's data and add that value set to true. To do this you log into the tool then select the item application from the list and chose the {} option in the table to edit the items data. Once in edit mode click the Data tab and find the "values" section and add this option. Attached is an example of how that would look. It's a good idea to practice these steps on a copy of your app before editing the real version.
Can I use this to disable popups for the ESRI Open Street Map baselayer when used in Scene Viewer? Since ESRI owns it, it seems to come pre-packaged as being turned on. Since it's a tile layer, there doesn't seem to be any options to turn it off like I could if it was a hosted feature layer.
Are you using the web scene in an Instant app like 3D Viewer? If so is the url live I'd be happy to take a look.
@KellyHutchins Perfect! That is exactly what I was looking for. Thank you so much for your help!
I am creating a Parks map using URL parameters so that the map can be embedded on several web pages and then each one can zoom to each specific park.
&urlParamAsFilter=true works great to suppress the popup, but since it also filters the layer, I lose the context of the surrounding parks.
As a workaround to this, I added a duplicate Parks layer in the background so I could use the &urlParamAsFilter=true to filter and suppress the popup, but I can still see the other surrounding parks on the map thanks to the duplicate layer. In the layer list I called the layers "Selected Park" and "All Parks", so it still makes sense to the user.
I would be great to see an option to just suppress the popup without filtering the layer to make this easier.