<?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: Change field names from field Mapping zone in ArctoolBox in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270354#M20855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/131014_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Oct 2015 19:17:05 GMT</pubDate>
    <dc:creator>SaidAkif</dc:creator>
    <dc:date>2015-10-13T19:17:05Z</dc:date>
    <item>
      <title>Change field names from field Mapping zone in ArctoolBox</title>
      <link>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270343#M20844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;​Hi all&lt;/P&gt;&lt;P&gt;I create an arctoolbox using field mapping in the code. I was able to add my table to the field mapping object. I remember that in the merge tool, I can change the field names, formatting, etc. from the field mapping zone. I believe that there is code behind that. I tried but unfortunately I was not able. When I change for example my field name and click in other place, my changes are not kept and i got only my original field names.&lt;/P&gt;&lt;P&gt;I know that perhaps I have to use the FiledMap object. My problem is that I don't know how to link the manual changes I make in field mappings zone and a code that can take those changes and show them in the field mapping zone.&lt;/P&gt;&lt;P&gt;In reality, I don't know how to program this link?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Dan Patterson I shortened your title...there is no need to repeat the title multiple times to try and draw attention to it.&amp;nbsp; I also added some tags so it won't languish in the questions section.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 15:02:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270343#M20844</guid>
      <dc:creator>SaidAkif</dc:creator>
      <dc:date>2015-10-13T15:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: How the change field names from field Mapping zone in a ArctoolBox?, How the change field names from field Mapping zone in a ArctoolBox?, How the change field names from field Mapping zone in a ArctoolBox?</title>
      <link>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270344#M20845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the attached file&lt;IMG alt="Untitled.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/130947_Untitled.jpg" style="width: 620px; height: 518px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 15:05:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270344#M20845</guid>
      <dc:creator>SaidAkif</dc:creator>
      <dc:date>2015-10-13T15:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: How the change field names from field Mapping zone in a ArctoolBox?, How the change field names from field Mapping zone in a ArctoolBox?, How the change field names from field Mapping zone in a ArctoolBox?</title>
      <link>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270345#M20846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What have you tried so far?&lt;/P&gt;&lt;P&gt;See if this link will help &lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-classes/fieldmappings.htm" title="http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-classes/fieldmappings.htm"&gt;FieldMappings—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 15:15:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270345#M20846</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2015-10-13T15:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: How the change field names from field Mapping zone in a ArctoolBox?, How the change field names from field Mapping zone in a ArctoolBox?, How the change field names from field Mapping zone in a ArctoolBox?</title>
      <link>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270346#M20847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks. I was looking in the FieldMapping help.&lt;/P&gt;&lt;P&gt;My problem is how from my manual changes in FieldMapping Zone, I can keep the changes. i mean, after right clicking on a field, make changes and see that those changes are kept (as what we can do with merge tool)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here what I did in validation :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; def updateParameters(self):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if self.params[1].altered:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.params[3].value = None&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tfms = arcpy.FieldMappings()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tfms.addTable(self.params[1].value)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.params[3].value = tfms.exportToString()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 15:28:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270346#M20847</guid>
      <dc:creator>SaidAkif</dc:creator>
      <dc:date>2015-10-13T15:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Change field names from field Mapping zone in ArctoolBox</title>
      <link>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270347#M20848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you look at example 2 in the link i gave you? It seems to do what you are asking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 15:55:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270347#M20848</guid>
      <dc:creator>WesMiller</dc:creator>
      <dc:date>2015-10-13T15:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Change field names from field Mapping zone in ArctoolBox</title>
      <link>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270348#M20849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please My issue reside in :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/131012_Untitled.jpg" style="width: 620px; height: 518px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 16:06:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270348#M20849</guid>
      <dc:creator>SaidAkif</dc:creator>
      <dc:date>2015-10-13T16:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Change field names from field Mapping zone in ArctoolBox</title>
      <link>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270349#M20850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Said, are you trying to change the OBJECTID field itself?&amp;nbsp; That is an internal/reserved field and I don't think you can change it.&amp;nbsp; I would copy the value of the OBJECTID field to a new field and manipulate that.&amp;nbsp; My opologies if that is not what you are doing, but the graphic shows it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 16:17:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270349#M20850</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2015-10-13T16:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Change field names from field Mapping zone in ArctoolBox</title>
      <link>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270350#M20851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whatever change I made with Output Field Properties (right click) on whatever non reserved field, It does not work. All my changes disappear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 16:23:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270350#M20851</guid>
      <dc:creator>SaidAkif</dc:creator>
      <dc:date>2015-10-13T16:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change field names from field Mapping zone in ArctoolBox</title>
      <link>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270351#M20852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want just do what is possible in Merge tool. In the FieldMapping Zone, We can rename fields, change their format length, type. And after those changes are preserved in the interface before running the tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Help please&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 16:47:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270351#M20852</guid>
      <dc:creator>SaidAkif</dc:creator>
      <dc:date>2015-10-13T16:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change field names from field Mapping zone in ArctoolBox</title>
      <link>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270352#M20853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;When I right click on a field in the Field Mapping zone, I notice that there is a difference and perhaps it is the source of my problem. please take a look to the following:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled1.jpg" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/131013_Untitled1.jpg" style="width: 620px; height: 474px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 19:01:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270352#M20853</guid>
      <dc:creator>SaidAkif</dc:creator>
      <dc:date>2015-10-13T19:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Change field names from field Mapping zone in ArctoolBox</title>
      <link>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270353#M20854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you hightlight the same field in your examples&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 19:10:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270353#M20854</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-10-13T19:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change field names from field Mapping zone in ArctoolBox</title>
      <link>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270354#M20855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/131014_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 19:17:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270354#M20855</guid>
      <dc:creator>SaidAkif</dc:creator>
      <dc:date>2015-10-13T19:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Change field names from field Mapping zone in ArctoolBox</title>
      <link>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270355#M20856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you go through this link on &lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/python/mapping-fields.htm"&gt;mapping fields&lt;/A&gt;?&amp;nbsp; Which has a link to the field &lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/executing-tools/using-the-field-mapping-control.htm"&gt;mapping control&lt;/A&gt; ...&amp;nbsp; which has another link referring you back to &lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-classes/fieldmappings.htm"&gt;field mapping&lt;/A&gt;&amp;nbsp; So if it is available and does it the way you want, you will find it there.&amp;nbsp; If not...then it can't be.&amp;nbsp; Good luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 19:31:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270355#M20856</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-10-13T19:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Change field names from field Mapping zone in ArctoolBox</title>
      <link>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270356#M20857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried all this. Unfortunately&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 19:44:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270356#M20857</guid>
      <dc:creator>SaidAkif</dc:creator>
      <dc:date>2015-10-13T19:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Change field names from field Mapping zone in ArctoolBox</title>
      <link>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270357#M20858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So... no luck then.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 19:49:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/change-field-names-from-field-mapping-zone-in/m-p/270357#M20858</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-10-13T19:49:01Z</dc:date>
    </item>
  </channel>
</rss>

