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.
Dang it. How did I miss that?!? Thanks, Robert!
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!