AnsweredAssumed Answered

Python automated export of ArcPro metadata to XML

Question asked by webbmj_CDMSmith on Oct 11, 2018

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?