Create Replica using arcpy

2715
10
10-14-2016 05:06 AM
AsteriosTselepis1
New Contributor II

I am creating a replica using python/arcpy and the tables which are being replicated are empty, only the schema is replicated. Is it possible to replicate also all the data in the tables using arcpy?

10 Replies
JoePlattner
New Contributor III

I had issues with this in 10.3.1 and gave up trying to use python or model builder and just did it using ArcMap.

We have upgraded to 10.5.1 recently and I'm taking a look to see if this was fixed or easier in the new version. I found this in the tool help for the "Create Replica" tool. I haven't tried it yet, but it seems promising. 

Create Replica (Data Management)

  • For tables the default filter is Schema Only; only the schema for the table will be replicated. To apply a filter to a table you must first create a table view setting desired filters. You can then use this as input into the Create Replica tool. See the Make Table View for more information. For more information on filters and replication see Preparing data for replication.

0 Kudos