AnsweredAssumed Answered

Is there a way using Export XML Workspace Document to export every database connection from within a folder?

Question asked by mrivera on Nov 17, 2014
Latest reply on Dec 2, 2014 by KCullen-esristaff

Say I have 40 database connections in a folder, is there some way to just export every database that has a connection?

 

Instead of writing

in_data = "c:/data/StJohns.gdb"
out_file = "c:/data/StJohns.xml"
export_option = "SCHEMA_ONLY"
storage_type = "BINARY"
export_metadata = "METADATA"

# Execute ExportXMLWorkspaceDocument
arcpy.ExportXMLWorkspaceDocument_management(in_data, out_file, export_option, storage_type, export_metadata)

 

40 times?

Outcomes