<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Different behavior when importing XML Workspace Document with ArcGIS Pro vs ArcPy in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/different-behavior-when-importing-xml-workspace/m-p/1302008#M70495</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;All non-Text fields automatically become Text.&lt;/LI&gt;&lt;LI&gt;All Text fields automatically have a maximum length of 65,536 characters.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ArcGIS Pro workflow&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Add Database&lt;/LI&gt;&lt;LI&gt;Import XML Workspace Document&lt;/LI&gt;&lt;LI&gt;Set paths for GDB and XML&lt;/LI&gt;&lt;LI&gt;Import schema only&lt;/LI&gt;&lt;LI&gt;Leave Configuration Keyword empty&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Python code&lt;/P&gt;&lt;P&gt;ap.management.ImportXMLWorkspaceDocument(GDB_PATH, XML_PATH, 'SCHEMA_ONLY')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jun 2023 14:20:51 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2023-06-22T14:20:51Z</dc:date>
    <item>
      <title>Different behavior when importing XML Workspace Document with ArcGIS Pro vs ArcPy</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/different-behavior-when-importing-xml-workspace/m-p/1302008#M70495</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;All non-Text fields automatically become Text.&lt;/LI&gt;&lt;LI&gt;All Text fields automatically have a maximum length of 65,536 characters.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ArcGIS Pro workflow&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Add Database&lt;/LI&gt;&lt;LI&gt;Import XML Workspace Document&lt;/LI&gt;&lt;LI&gt;Set paths for GDB and XML&lt;/LI&gt;&lt;LI&gt;Import schema only&lt;/LI&gt;&lt;LI&gt;Leave Configuration Keyword empty&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Python code&lt;/P&gt;&lt;P&gt;ap.management.ImportXMLWorkspaceDocument(GDB_PATH, XML_PATH, 'SCHEMA_ONLY')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 14:20:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/different-behavior-when-importing-xml-workspace/m-p/1302008#M70495</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2023-06-22T14:20:51Z</dc:date>
    </item>
  </channel>
</rss>

