Hello,
I'm trying to import a schema XML file into a Geodatabase. Doing this with Pro gets the output I expect, but not with ArcPy. The fields are almost completely broken.
- All non-Text fields automatically become Text.
- All Text fields automatically have a maximum length of 65,536 characters.
ArcGIS Pro workflow
- Add Database
- Import XML Workspace Document
- Set paths for GDB and XML
- Import schema only
- Leave Configuration Keyword empty
Python code
ap.management.ImportXMLWorkspaceDocument(GDB_PATH, XML_PATH, 'SCHEMA_ONLY')
Are there some configuration settings that Pro handles under the hood that I need to set as well? Is this a common workflow others have used as well?
Thanks for the help.
A