can i manipulate the source code for the query widget to disable info-window for the results layer the query creates ?
Solved! Go to Solution.
Ibrahim,
Glad to help. Don't forget to mark this thread as answered by clicking on the "Correct Answer" link on the thread that answered your question.
Ibrahim,
Sure just comment out line 1225 of the Widget.js (assuming you are talking about WAB 2.0).
thank you
Ibrahim,
Glad to help. Don't forget to mark this thread as answered by clicking on the "Correct Answer" link on the thread that answered your question.
Hi Robert,
Is it the Query\Widget.js? because this doesn't go over line 1000 in version 2.8.
Thanks
That reply was from 3 years ago (version 2.0). I am sure a lot has changed since then.
Yea makes sense, but do you have an idea?
Thanks
In WAB Dev 2.11 it is line 749 you need to comment out:
resultLayer.setInfoTemplate(popupTemplate);
When I comment out "resultLayer.setInfoTemplate(popupTemplate);" in 2.13 the popup is still there, but there is no info in it. Any thoughts on how to completely remove it?
Jason
The empty popup shows because your map has other layers that have popups configured and it is testing to see if you clicked on one of those features. So I guess the answer is no.