<?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: Retaining Field Names in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/retaining-field-names/m-p/547484#M42751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Awesome - that's exactly what&amp;nbsp; I needed!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tycho&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Nov 2013 15:07:37 GMT</pubDate>
    <dc:creator>TychoGranville</dc:creator>
    <dc:date>2013-11-06T15:07:37Z</dc:date>
    <item>
      <title>Retaining Field Names</title>
      <link>https://community.esri.com/t5/python-questions/retaining-field-names/m-p/547482#M42749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just finished the Python web class, and I???m stuck....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a Feature Class with a table joined to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use ArcMap to manually export the FC to a shapefile (TOC --&amp;gt; right-click FC --&amp;gt; Data --&amp;gt; Export Data) I get a new file with the new fields all having the names of the previously joined table fields (so, Owner, Care_Of, etc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use any type of Python command (FeatureClassToFeatureClass_conversion, Project_management, Clip_analysis) in that same MXD the field names change to the name of the table they came from, followed by a number (so, ParcelJo_1, ParcelJo_2, etc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What command am I missing to keep the original field names?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tycho&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 20:26:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/retaining-field-names/m-p/547482#M42749</guid>
      <dc:creator>TychoGranville</dc:creator>
      <dc:date>2013-11-05T20:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Retaining Field Names</title>
      <link>https://community.esri.com/t5/python-questions/retaining-field-names/m-p/547483#M42750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I'm not mistaken you need to use unqualified field names...that's an environment setting, see the sample script in the web help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Qualified Field Names (Environment setting)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Desktop » Geoprocessing » Environment settings&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/main/10.2/index.html#//001w00000008000000" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//001w00000008000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The default value is 'True' so you have to set it to 'False' - here's an excerpt:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;import arcpy arcpy.env.qualifiedFieldNames = False&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Enjoy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wayne&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 01:05:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/retaining-field-names/m-p/547483#M42750</guid>
      <dc:creator>T__WayneWhitley</dc:creator>
      <dc:date>2013-11-06T01:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Retaining Field Names</title>
      <link>https://community.esri.com/t5/python-questions/retaining-field-names/m-p/547484#M42751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Awesome - that's exactly what&amp;nbsp; I needed!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tycho&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 15:07:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/retaining-field-names/m-p/547484#M42751</guid>
      <dc:creator>TychoGranville</dc:creator>
      <dc:date>2013-11-06T15:07:37Z</dc:date>
    </item>
  </channel>
</rss>

