I am having trouble with attribute tables and pop-ups in the Web App builder viewer.
I have two (of many) layers (MapServer) that I've added in the Map Viewer. When I'm in the map viewer I have enabled and configured pop-ups and they show up. The attribute table also displays how it should in the Map Viewer.
However, when I am in the Web App viewer the pop-ups say "No Information Available" and the attribute table opens but is completely blank (the fields don't show up at all).
It is odd because all of the other layers in my Map viewer and App work fine.
Here is the link to the service if you'd like to try: microbio_geochemistry/decadal_precipitation (MapServer)
Does anyone have ideas?
Did you follow the steps of configuring the Attribute table widget of WebApp Builder. Attribute Table widget—Web AppBuilder for ArcGIS | ArcGIS
and configuring popups in WebApp Builder
Configure pop-ups—ArcGIS Online Help | ArcGIS
Yep.
Like I said, all the other layers in the Web Builder work for pop-ups and attribute tables. And the pop-ups and attribute table works in the map view.
Did you take a look at the web traffic? If I add the service to a webmap, enable popups and query, I get a 404 response for the following request:
If you take out the outFields, you get a response back, so the USGS may be doing something to requests with certain characters in the request or a specific request length. Do you see a 200 response code for your query request?
I'm not sure about all that, but I went ahead and simply deleted the service and republished the layer from scratch. That seems to have fixed the problem.
Hi Steve,
I tested with the sample REST endpoint your provided,
microbio_geochemistry/decadal_precipitation (MapServer)
and was able to define pop-ups in the web map, which are honored and visible in Web AppBuilder. I can also see their attribute tables in the Attribute Table widget. Please see demo app here,
Hope this helps,
I finally just deleted the service and republished it again. That seems to have fixed the problems. I still have no idea why.