How come there's no tool for adding/removing feature classes to/from a replica?

1600
2
09-16-2016 01:48 PM
ScottStopyak
Occasional Contributor II

When you create a replica, you are stuck with it. You need to create a whole new replica if you want to add a feature class. Could ESRI please make a tool for managing an existing replica's datasets?

Tags (2)
0 Kudos
2 Replies
FreddieGibson
Occasional Contributor III

I don't believe there is an out-of-the-box way to accomplish this, but it is certainly possible to implement this in ArcObjects. If you're familiar with ArcObjects you can quickly build a tool to implement this and the bulk of the logic you'd need is shown on the following page.

How to add a feature class to an existing or table to an existing replica

https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#da79f58c-971a-454e-bc52-974c2c47e26...

The implementation will vary depending on how you want to implement this. I typically leverage it as a console application or build my own GUIs to run this process outside of ArcGIS Desktop, but you could wrap this into a custom GPFunction pretty quickly.

DanMcCoy
Occasional Contributor III

Please vote up the following idea:

 

Add a Feature Class to an existing Replica

https://community.esri.com/ideas/1823

0 Kudos