<?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 Re: Rearrange Atrribute Fields in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/rearrange-atrribute-fields/m-p/105021#M8083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried using x-ray in arccatalog but for whatever reason it was not working. I ended up quickly exporting the feature class to a personal geodatabase and using Access i know this isn't best practice but for now it worked. In the future XML sounds like a much more reliable approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SDE is SQL and I will approach later as it is much easier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2015 12:55:41 GMT</pubDate>
    <dc:creator>KevinDunkin1</dc:creator>
    <dc:date>2015-10-16T12:55:41Z</dc:date>
    <item>
      <title>Rearrange Atrribute Fields</title>
      <link>https://community.esri.com/t5/python-questions/rearrange-atrribute-fields/m-p/105017#M8079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a FGDB that I am using to test in Arc Online. In doing so I am performing database updates such as assigning domains, deleting fields, and reordering. I have searched everywhere and not found one good answer that EXPLAINS the process of permanently reordering the feature class attributes. I dont mind a python response as long as it is clear the thinking/process in performing the necessary steps. For instance I need to make the field listed last (all the way to the right) as third (further left). I should mention that eventually i will need to do the same to my production .SDE so the more scripting involved the better for duplication later on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 19:32:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/rearrange-atrribute-fields/m-p/105017#M8079</guid>
      <dc:creator>KevinDunkin1</dc:creator>
      <dc:date>2015-10-07T19:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rearrange Atrribute Fields</title>
      <link>https://community.esri.com/t5/python-questions/rearrange-atrribute-fields/m-p/105018#M8080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you see this discussion &lt;A href="https://community.esri.com/message/547415"&gt;Is there an easy way to re-order fields in a shapefile's dbf?&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 19:45:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/rearrange-atrribute-fields/m-p/105018#M8080</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2015-10-07T19:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Rearrange Atrribute Fields</title>
      <link>https://community.esri.com/t5/python-questions/rearrange-atrribute-fields/m-p/105019#M8081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I encounter this frequently. Export the FGDB to an XML workspace document, then use notepad ++ with the XML plugin to re-arrange the XML element that correspond to "attributes". You're not going to "screw up your database" because with XML, if you get anything wrong, the re-import of the XML into a new empty FGDB will fail. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for SDE, if this is a MS SQL DB, you can use SQL to edit the table definition XML, as well as do a drop and create on the table itself, with the create ordering the columns as you wish. You'll have to dump your data into another table then re-import it. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 12:04:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/rearrange-atrribute-fields/m-p/105019#M8081</guid>
      <dc:creator>ThomasColson</dc:creator>
      <dc:date>2015-10-15T12:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rearrange Atrribute Fields</title>
      <link>https://community.esri.com/t5/python-questions/rearrange-atrribute-fields/m-p/105020#M8082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using X-Ray for ArcCatalog to re-arrange, add or remove fields, create domains, etc..&amp;nbsp; I find it indispensable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=e1e911d7d7374285b1ef03d06b3ee642" title="http://www.arcgis.com/home/item.html?id=e1e911d7d7374285b1ef03d06b3ee642"&gt;http://www.arcgis.com/home/item.html?id=e1e911d7d7374285b1ef03d06b3ee642&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 17:20:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/rearrange-atrribute-fields/m-p/105020#M8082</guid>
      <dc:creator>ChrisRumig</dc:creator>
      <dc:date>2015-10-15T17:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rearrange Atrribute Fields</title>
      <link>https://community.esri.com/t5/python-questions/rearrange-atrribute-fields/m-p/105021#M8083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried using x-ray in arccatalog but for whatever reason it was not working. I ended up quickly exporting the feature class to a personal geodatabase and using Access i know this isn't best practice but for now it worked. In the future XML sounds like a much more reliable approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SDE is SQL and I will approach later as it is much easier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 12:55:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/rearrange-atrribute-fields/m-p/105021#M8083</guid>
      <dc:creator>KevinDunkin1</dc:creator>
      <dc:date>2015-10-16T12:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rearrange Atrribute Fields</title>
      <link>https://community.esri.com/t5/python-questions/rearrange-atrribute-fields/m-p/105022#M8084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For re-arranging fields, the arcpy.fieldmappings technique works well. The following link nicely demonstrates a Pythonic way to do Field Mappings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://joshwerts.com/blog/2014/04/17/arcpy-reorder-fields/"&gt;http://joshwerts.com/blog/2014/04/17/arcpy-reorder-fields/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 16:18:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/rearrange-atrribute-fields/m-p/105022#M8084</guid>
      <dc:creator>WillRugg</dc:creator>
      <dc:date>2015-10-19T16:18:24Z</dc:date>
    </item>
  </channel>
</rss>

