Python automated export of ArcPro metadata to XML

982
0
10-11-2018 06:51 AM
MarianaWebb
New Contributor

Hello, I've scoured the internet in search of an ArcPy function that will perform the same function as the export button in the metadata ribbon in ArcGIS pro. I've found arcpy.ExportMetadata_Conversion(), which doesn't appear to be supported with ArcGIS Pro and Python 3. I've also found arcpy.ExportXMLWorkspaceDocument() (using the "SCHEMA_ONLY" parameter) but the XML file that is generated is not formatted correctly. Is there a more basic function that will have the same results as the built-in ArcGIS Pro tool?

0 Replies