I'm using Robert Scheitlin's custom Popup Panel widget (v2.1.1) in Web AppBuilder. in my web map I have added a map service from the web (not in basemap) and there are several layers in it. I have popups enabled on two of the layers: addresses (point) and parcels (polygon). The addresses are ordered above the parcels but when I click on an address in the map, the parcel is always displayed in the popup first and the address is second. Doesn't seem to matter which layer has the popup enabled first, Web AppBiulder always starts by displaying the parcel attributes. I want to show the address first, then the parcel. How can I specify the layer order of the results that display in the popup?
Solved! Go to Solution.
Blake,
There is no ability to specify the popup order in the Js api thus that means WAB as well.
Blake,
There is no ability to specify the popup order in the Js api thus that means WAB as well.
Bummer, thanks.
I'd say there is another way to show your information in order. First, merge or spatial join between two layers and make one layer, then use pop up window (Robert version!) , next, use css coding to have the information you need. To configure pop up window, you just need to select "configure pop up" on the layer in your original web map, then configure as custom, and then add very simple HTML code on that window. Esri has sample of that too : Crafting custom attribute displays in pop-ups | ArcGIS Blog