Double pop-up

910
8
Jump to solution
02-21-2019 10:21 AM
WilliamBailey
New Contributor II

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:

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

William,

The formatting of the eSearch results are controlled by two things (covered in the widget help document)

  1. Field Format 
  2. Result Formating

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).

View solution in original post

0 Kudos
8 Replies
RobertScheitlin__GISP
MVP Emeritus

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.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

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.

0 Kudos
WilliamBailey
New Contributor II

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?

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

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.

0 Kudos
WilliamBailey
New Contributor II

No, both places are Mapservice... The only issue I have is disabling the second (pop2   raw data)

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

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.

0 Kudos
WilliamBailey
New Contributor II

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

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

William,

The formatting of the eSearch results are controlled by two things (covered in the widget help document)

  1. Field Format 
  2. Result Formating

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).

0 Kudos