I am getting double pop-ups in WAB application.
I have "popupfrom": "webmap" set in eSearch config.
I cannot figure out how to disable pop 2.
Pop 1 is using pop from WebMap in Agol.
Pop 2 is raw data from feature attributes in eSearch config.
Pop 1:
Pop 2:
Solved! Go to Solution.
William,
The formatting of the eSearch results are controlled by two things (covered in the widget help document)
p.s. what are the options for "popupfrom" in eSearch
That is set by the widget settings UI (not really something you need to be manually editing).
William,
You are going to get two popups if you have the FeatureLayer configured for a popup and then run a search and then click on the map for that feature it will show the popup for the actual feature and the popup for the eSearch feature. The issue I see is that you are not getting two identical popups... I will have to look into that.
William,
So after some testing I can see what might be your issue. When I configured a layer in eSearch using http protocol and then the webmap has the protocol for that layer as https then those two urls are NOT the same and it will not find the popup from the webmap to use.
The app was built with http services, but we just updated our server and web-adaptor to https.
I changed the URL's in the whole VS project to https.
p.s. These sales searches are based on Mapservice not Featureservice, will try with FS tomorrow.
Anything in hosting MXD that can affect this?
William,
So if you are saying that you have a FeatureServer service in the webmap and then use MapServer service fr the eSearch then that is going to be an issue and it will not find the popup from the FeatureServer service since the url does not match.
No, both places are Mapservice... The only issue I have is disabling the second (pop2 raw data)
William,
They both will be identical if you have them both using the same exact url. Disabling one of them is not really an option because there are Two layers in the map, the original featurelayer for the parcel and the new eSearch widget result so you will always get two results.
I removed layer from map but kept in eSearch with results as expected: Only one pop (the raw data one)
Problem is I do not know how to accomplish "fancy" pop from eSearch or in ArcMap (love AGOL's flexibility)
p.s. what are the options for "popupfrom" in eSearch
William,
The formatting of the eSearch results are controlled by two things (covered in the widget help document)
p.s. what are the options for "popupfrom" in eSearch
That is set by the widget settings UI (not really something you need to be manually editing).