Select to view content in your preferred language

Popup not working on only one layer in Arc View

1187
8
07-31-2023 11:18 AM
Labels (1)
FrankDay
Occasional Contributor

I have a layer where the popups aren't working in map viewer. They do work in classic map viewer, though and it's only one layer. I have made sure that popups are turned on in map view\er for that layer. I have tried the same layer in multiple maps and I get the same thing. I click on an asset and nothing happens while in map viewer. 

0 Kudos
8 Replies
RussRoberts
Esri Notable Contributor

Can you share the map? thanks!

0 Kudos
FrankDay
Occasional Contributor

I'm not sure how to share this map. I hope this works. Please let me know if I need to do something different. 

https://crrwc.maps.arcgis.com/home/item.html?id=2999ea5e148548228b406e798f51a722

0 Kudos
RussRoberts
Esri Notable Contributor

Looks like it isnt shared. To learn how to share read here: https://doc.arcgis.com/en/arcgis-online/share-maps/share-maps-mv.htm

0 Kudos
FrankDay
Occasional Contributor

Russ - Can you see if its shared now?

 

0 Kudos
RussRoberts
Esri Notable Contributor

Yup, it looks like an issue with the query failing. I noticed the service uses TMONTH field in the drawinginfo and the Types ID field but it doesn't exist in the field list.  This field is requested in the outfields and isn't present which is probably causing the query to change. 

0 Kudos
FrankDay
Occasional Contributor

I think I deleted the TMONTH field because I wasn't using it anymore. How do I fix it now?

0 Kudos
RussRoberts
Esri Notable Contributor

How did you remove the field ?

If you arent use to updating the service definition yourself you can try opening the layer in map viewer classic, change to a simple renderer and then click on save layer. This should update the service definition where the drawinginfo will drop the TMONTH along with Type Field and the Type mapping to TMONTH.  I think this should fix the queries looking for TMONTH in the outfields.

0 Kudos
FrankDay
Occasional Contributor

I'm sorry for my lack of knowledge. I did look on the net to try and figure some of this out. I have a relationship table with this layer will this still work? I also couldn't figure out how to change the layer to a simple renderer in Map Viewer. 

0 Kudos