<?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: Field Mapping in script tool in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/field-mapping-in-script-tool/m-p/255889#M19680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Riyas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Did you ever find a solution to this? I am able to populate the Field Map control in the validation script ok but when I try to access the shortcut menu there is no "Add input field" item like there is in the merge tool for example.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jan 2015 22:53:21 GMT</pubDate>
    <dc:creator>HenryColomb</dc:creator>
    <dc:date>2015-01-27T22:53:21Z</dc:date>
    <item>
      <title>Field Mapping in script tool</title>
      <link>https://community.esri.com/t5/python-questions/field-mapping-in-script-tool/m-p/255886#M19677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create a script tool with field mapping, similar to append tool in in data management.&lt;/P&gt;&lt;P&gt;I want user to be able to specify two layers, one source and one destination. Once source layer and destination layer are specified populate common fields to populate source and destination layer as field map.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i specify Field mapping parameter, i have to manually specify output field manually, still it won't let me establish relation between two fields from these two layers. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/legacyfs/online/2952_Untitled.png"&gt;&lt;IMG alt="Untitled.png" class="image-1 jive-image" height="900" src="https://community.esri.com/legacyfs/online/2952_Untitled.png" style="width: 620px; height: 496px;" width="1125" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 06:18:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/field-mapping-in-script-tool/m-p/255886#M19677</guid>
      <dc:creator>RiyasDeen</dc:creator>
      <dc:date>2014-08-04T06:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Field Mapping in script tool</title>
      <link>https://community.esri.com/t5/python-questions/field-mapping-in-script-tool/m-p/255887#M19678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Riyas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at these pages:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://www.esri.com/news/arcuser/1012/use-field-mapping-and-python-scripting-to-make-your-job-easier.html" title="http://www.esri.com/news/arcuser/1012/use-field-mapping-and-python-scripting-to-make-your-job-easier.html"&gt;Use Field Mapping and Python Scripting to Make Your Job Easier&lt;/A&gt;‌&lt;/LI&gt;&lt;LI&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/FieldMappings/000v0000008q000000/" title="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/FieldMappings/000v0000008q000000/"&gt;ArcGIS Desktop Help&lt;/A&gt;‌&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your question it sounds like you want to be running custom code in the validation section of the script tool? &lt;A href="http://blogs.esri.com/esri/arcgis/2011/08/25/generating-a-choice-list-from-a-field/"&gt;This&lt;/A&gt; page talks about making a choice list but it shows how you get in and out of the validation part of the tool. &lt;A _jive_internal="true" href="https://community.esri.com/thread/24608"&gt;Other&lt;/A&gt; people have scripted this and &lt;A _jive_internal="true" href="https://community.esri.com/thread/86420"&gt;here&lt;/A&gt; too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 11:00:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/field-mapping-in-script-tool/m-p/255887#M19678</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2014-08-04T11:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Field Mapping in script tool</title>
      <link>https://community.esri.com/t5/python-questions/field-mapping-in-script-tool/m-p/255888#M19679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Duncan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;What i'm actually looking for is to establish join between two layers using more than one field. Users should be able to specify the field combinations.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 13:31:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/field-mapping-in-script-tool/m-p/255888#M19679</guid>
      <dc:creator>RiyasDeen</dc:creator>
      <dc:date>2014-08-04T13:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Field Mapping in script tool</title>
      <link>https://community.esri.com/t5/python-questions/field-mapping-in-script-tool/m-p/255889#M19680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Riyas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Did you ever find a solution to this? I am able to populate the Field Map control in the validation script ok but when I try to access the shortcut menu there is no "Add input field" item like there is in the merge tool for example.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 22:53:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/field-mapping-in-script-tool/m-p/255889#M19680</guid>
      <dc:creator>HenryColomb</dc:creator>
      <dc:date>2015-01-27T22:53:21Z</dc:date>
    </item>
  </channel>
</rss>

