Select to view content in your preferred language

Update datasource of MapService with Mosaic

80
0
yesterday
ModyBuchbinder
Esri Regular Contributor

I have a map service that include Mosaic Dataset (Map service and NOT image service)

I am trying to use arcpy to update from one server to another.

I try to use layer.updateConnectionProperties but it does not work.

The closest I get is layer.updateConnectionProperties(None, ’https://newserver/arcgis/rest/map1/MapServer’, validation=False)

It gave me layer that have the correct source but is show with red exclamation mark and does not display.

The mosaic is really a group of 4 layers but only the group can be changed.

I noticed that is I try to open the properties in Pro and go to source the “set source” button is disabled.

Is it possible?

0 Kudos
0 Replies