Override/Prevent "No Information" Popups for WebMap using JSAPI?

116
3
08-13-2020 09:37 AM
Arne_Gelfert
Regular Contributor

Working on a web app in WAB-DE that uses a Portal web map with pre-configured popups. Even for layers where popups have been disabled in web map (in Portal WebViewer), the map will still open a popup anywhere you click and show this...

The only related thread I've found was this one: Disable "No information popup" . Apparently a quite familiar issue.

Is there a way to do this programmatically through custom code under the hood of WAB-DE ? Basically, I want no popup at all where webmap does have a pre-configured (HTML) popup.

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor
Arne_Gelfert
Regular Contributor

Dang it. How did I miss that?!? Thanks, Robert!

0 Kudos
Arne_Gelfert
Regular Contributor

So I ended up tweaking Robb's solution slightly to make it work for me... you can find the code in my comment to his post. Worked great!

0 Kudos