<?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 Rename a field in Feature Class to Feature Class tool in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/rename-a-field-in-feature-class-to-feature-class/m-p/794761#M1354</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to rename a field using Field Map in Feature Class to&lt;SPAN&gt;&amp;nbsp;Feature Class&amp;nbsp;t&lt;/SPAN&gt;ool, using inline variable, but it is not working, I want to add the base year at the end of the field name, in the output feature class, for example in this&amp;nbsp;case I want to rename the field &amp;nbsp;from 'BASIC' to&amp;nbsp; 'BASIC_18'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/448173_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Base year can be different for each area so I have it as a variable and a model parameter, to be entered by the user.&lt;/P&gt;&lt;P&gt;Here is how I have set it up in the model&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/448174_pastedImage_2.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried with and without quotes %BaseYear%, but still it is not adding it.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 May 2019 19:01:30 GMT</pubDate>
    <dc:creator>SRJS4</dc:creator>
    <dc:date>2019-05-22T19:01:30Z</dc:date>
    <item>
      <title>Rename a field in Feature Class to Feature Class tool</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/rename-a-field-in-feature-class-to-feature-class/m-p/794761#M1354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to rename a field using Field Map in Feature Class to&lt;SPAN&gt;&amp;nbsp;Feature Class&amp;nbsp;t&lt;/SPAN&gt;ool, using inline variable, but it is not working, I want to add the base year at the end of the field name, in the output feature class, for example in this&amp;nbsp;case I want to rename the field &amp;nbsp;from 'BASIC' to&amp;nbsp; 'BASIC_18'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/448173_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Base year can be different for each area so I have it as a variable and a model parameter, to be entered by the user.&lt;/P&gt;&lt;P&gt;Here is how I have set it up in the model&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/448174_pastedImage_2.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried with and without quotes %BaseYear%, but still it is not adding it.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2019 19:01:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/rename-a-field-in-feature-class-to-feature-class/m-p/794761#M1354</guid>
      <dc:creator>SRJS4</dc:creator>
      <dc:date>2019-05-22T19:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a field in Feature Class to Feature Class tool</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/rename-a-field-in-feature-class-to-feature-class/m-p/794762#M1355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because these field maps are handled at validation time, not at run time, the approach you really need to do is to use the Calculate Value tool to generate a field map dynamically at runtime using the arcpy FieldMappings objects in a Python function. &lt;A href="https://community.esri.com/message/426496"&gt;Re: Generalizing Fieldmaps in ModelBuilder&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2019 16:08:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/rename-a-field-in-feature-class-to-feature-class/m-p/794762#M1355</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2019-05-23T16:08:35Z</dc:date>
    </item>
  </channel>
</rss>

