Select to view content in your preferred language

Hosted Map Service Fails to Refresh

2237
14
Jump to solution
09-12-2017 07:08 AM
by Anonymous User
Not applicable

I have a hosted 10.5.1 map service, here: MapServices/fsmPublicMapViewer (MapServer) 

Changes to this map service (e.g. add layer, change default visibility, etc.) are not reflected when I re-open the map in MapViewer. I have checked and set the refresh rate for the layer in AGOL to 1 minute and no luck.

Thanks in advance,

rGibson

0 Kudos
14 Replies
KellyGerrow
Esri Alum

Hey Russell,

You can take a look at the web map JSON to see why this webmap isn't appearing:

https://www.arcgis.com/sharing/rest/content/items/4a39661e35c343c9b0977351c5e2044e/data?f=pjson 

You'll notice that the web map operational layer is referring to each individual layer within the map service along with the configured pop ups and symbology. For this reason, the webmap is unaware of changes made to the entire Map Service as the rendering is set in the web map and is not being pulled from the service. In order to add new layers, you will need to add individual layers or re-add and configure the map service.

-Kelly

0 Kudos
by Anonymous User
Not applicable

Hi, Kelly. Actually I just re-configured the map to call the layers individually, per a conversation with an Esri support rep this morning. Should I create another web map with all layers being contained in one map service within the web map?

0 Kudos
KellyGerrow
Esri Alum

Hi Russell,

If you add the map service URL to the web map and don't change anything, like symbology, then the web map will pull the data (layers) and symbology right from the Map Service: MapServices/fsmPublicMapViewer (MapServer)  The web map will be able to see new layers or symbology set to the map service as no settings per layer will be stored in the web map. If any layer specific content is saved to the web map, a schema of the map service will be saved in the web map, and manging symbology and layers through the map service won't be possible.

Let me know if you have questions,

-Kelly

by Anonymous User
Not applicable

Thanks, Kelly.

Oddly enough, working with the support rep, we discovered that adding an additional layer to the map service and overwriting the service was not reflected in the web map.

Thanks again.

R

Russell Gibson,

Director, Information & Technology Services,

City of Fort Smith, AR

0 Kudos
by Anonymous User
Not applicable

Thanks, Kelly. What you describe is exactly the solution.

Thanks again.

Russell

0 Kudos