I have been tasked with writing a python that will unregister selected datasets from a replica. Basically, I was given a screenshot from ESRI's manage replica pane documentation and asked to write a script the did "Unregister from replica" automatically. I haven't been able to find anything in arcpy that can do this. Has anyone else had success in this field?
Solved! Go to Solution.
Just going by the help topics, so I presume you have gone through
Replica—ArcGIS Pro | Documentation
only to find you can list the properties
ListReplicas—ArcGIS Pro | Documentation
to see that everything in arcpy is readonly
You might want to check out some of these ArcGIS Ideas
Unregister Replication via Arcpy and ArcToolbox Tool looks like what you want
The rest of the tools in Arctoolbox don't seem to fit what you need specifically
Unregister Replica (Data Management)—ArcGIS Pro | Documentation
Just going by the help topics, so I presume you have gone through
Replica—ArcGIS Pro | Documentation
only to find you can list the properties
ListReplicas—ArcGIS Pro | Documentation
to see that everything in arcpy is readonly
You might want to check out some of these ArcGIS Ideas
Unregister Replication via Arcpy and ArcToolbox Tool looks like what you want
The rest of the tools in Arctoolbox don't seem to fit what you need specifically
Unregister Replica (Data Management)—ArcGIS Pro | Documentation
Seems like the Ideas post is about the closest thing out there. I hadn't expected a full solution but it's nice to know I'm not alone at least. Thanks.
You probably have long had this written by now. For those interested in a similar script, I have posted a batch replica unregistration script on geonet.