Select to view content in your preferred language

Cannot overwrite layer that is set to sync and has replicas because of Feild Maps App

886
2
Jump to solution
07-31-2023 04:51 PM
Labels (2)
Hels77
by
Occasional Contributor

Hi, can anyone offer any advice?

Attempting to overwrite a layer in ArcGIS Online from ArcGIS Pro (it needs to be updated weekley)

  • Get warning that layers that sync is enabled, and I have replicas created.

Hels77_0-1690847252977.png

  • If I attempt to turn off sync I get this warning

Hels77_1-1690847252978.png

  • This has just started happening because I've been trying to build a Field Map App with offline ability using these layers. I have a new webmap with these layers specifically for the app.

Can anyone offer any advice?

1 Solution

Accepted Solutions
JakeSkinner
Esri Esteemed Contributor

@Hels77,

Instead of overwriting, try performing a truncate/append of the service:

https://community.esri.com/t5/arcgis-online-documents/overwrite-arcgis-online-feature-service-using/...

In the above python script, you can set the disableSync variable to False.

View solution in original post

2 Replies
JakeSkinner
Esri Esteemed Contributor

@Hels77,

Instead of overwriting, try performing a truncate/append of the service:

https://community.esri.com/t5/arcgis-online-documents/overwrite-arcgis-online-feature-service-using/...

In the above python script, you can set the disableSync variable to False.

Hels77
by
Occasional Contributor

Thanks @JakeSkinner !

0 Kudos