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
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
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?
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.
http://fsm-ar.maps.arcgis.com/home/item.html?id=4a39661e35c343c9b0977351c5e2044e
Yes, if I add the service to a new web map, the updates appear. Also, if I preview the rest endpoint in the Javascript viewer, the update appears as well.
Yes, or share the web map that you are using. Web Maps create a specific schema when accessing layers. If the underlying data is updated, sometimes the web map is unaware of the changes and doesn't submit calls to the new layers or features. In order to verify if this is the issue, i suggest looking at the specific web map.
If you add the map service to a new web map, does the new data appear?
Can you share your webmap?
Was the service added as the full map service or as layers within the map service?
Specifically?
The updates are reflected at the REST endpoint, etc.
Thanks again.
r
Russell Gibson
Director, Information & Technology Services
City of Fort Smith, AR
479-788-8919
rgibson@fortsmithar.gov
can you provide a screenshot of your configs for hosting the service?
Hi Joe. All changes occur in the local mxd and then republished to the locally hosting service.
Russell Gibson,
Director, Information & Technology Services,
Are you saving the changes within Web Map viewer?
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.