Select to view content in your preferred language

Can geodatabase be registered in ArcServer via Python?

364
2
Jump to solution
05-07-2020 02:35 PM
PeterLen
Occasional Contributor

Hello - We are migrating to ArcServer 10.6.1 from 10.4.  We have numerous database schemas that we have registered in our 10.4 ArcServer.  I am trying to find out if there is a way to programmatically (via Python) register these geodatabase schemas (.SDE connection files) in our new ArcServer rather than having to manually register them one by one via Arc Server Manager.  I can't find anything specific online and none of the tools in the toolbox look like they will do what I want.  

Thoughts? 

Thanks - Peter

0 Kudos
1 Solution

Accepted Solutions
JakeSkinner
Esri Esteemed Contributor
0 Kudos
2 Replies
JakeSkinner
Esri Esteemed Contributor
0 Kudos
PeterLen
Occasional Contributor

Jake,

Thanks for the reply.  I believe that tool (arcpy.AddDataStoreItem) may be just the thing.  I will run some tests tomorrow.  It looks very promising.

Thanks - Peter

0 Kudos