"Register Existing Data" option in ArcPy?

3355
5
05-19-2016 06:39 AM
CarlosGarcia_II
New Contributor II

I'm looking for a way in 10.2.2 to create a replica by registering existing data. So far, that option seems reserved only for ArcMap. I want to script everything to avoid user error once I have to pass the project on.

Tags (2)
0 Kudos
5 Replies
George_Thompson
Esri Frequent Contributor

As far as I know the "Register Existing Data" option is only available in the ArcMap UI on the Distributed Data wizard.

Replicas created with the option to register with existing data—ArcGIS Help | ArcGIS for Desktop

Create Replica—Help | ArcGIS for Desktop

Geodatabase

--- George T.
0 Kudos
CarlosGarcia_II
New Contributor II

Right. That's the only place I've ever seen the option. We're just looking for way to perform this without ArcMap. The environment is fairly locked down, so we don't have connectivity to it from our normal desktops with ArcMap. And adding an ArcMap license to that system is superfluous as it would only get used if we had to rebuild the system. (Hence the desire to do it through ArcPy)

0 Kudos
George_Thompson
Esri Frequent Contributor

I know that they have looked into incorporating this in a future release but no official word on that release at this time. So the ArcMap option is the only way right now to do it.

--- George T.
0 Kudos
ChrisPedrezuela
Occasional Contributor III

Keen to get this available so easy to automate replica creation with register existing data option

0 Kudos
JonathanQuinn
Esri Notable Contributor

The AddDataStoreItem arcpy functions exist for both Pro and ArcMap and can be used to automate/script the creation of file based data stores and database data stores:

https://desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-functions/adddatastoreitem.htm

https://pro.arcgis.com/en/pro-app/arcpy/functions/adddatastoreitem.htm

0 Kudos