<?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>idea &amp;quot;Reset Field Mapping after each iteration&amp;quot; for Merge Tool in ModelBuilder in ModelBuilder Ideas</title>
    <link>https://community.esri.com/t5/modelbuilder-ideas/quot-reset-field-mapping-after-each-iteration-quot/idi-p/1555496</link>
    <description>&lt;P&gt;Trying to use the 'merge' tool within ModelBuilder in conjunction with an iterator is a headache. Say I have a model that iterates through an entire database, selects feature classes that share similar file names to pair/merge together, and then moves on to the next pair. The two+ feature classes in each individual merge share a schema. But, at the next iteration, if the next pair doesn't have the same schema as the first go-round, the tool either fails or creates countless &amp;lt;Null&amp;gt; values.&lt;/P&gt;&lt;P&gt;PLEASE find a way to add the functionality to&amp;nbsp;"field_mappings.removeAll()" after each iteration, similar to how a user would manually select the 'reset' button after running the merge tool once. Maybe a check box or something? Just like you have for including source values or not.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2024 16:58:40 GMT</pubDate>
    <dc:creator>mbramos</dc:creator>
    <dc:date>2024-11-05T16:58:40Z</dc:date>
    <item>
      <title>"Reset Field Mapping after each iteration" for Merge Tool in ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-ideas/quot-reset-field-mapping-after-each-iteration-quot/idi-p/1555496</link>
      <description>&lt;P&gt;Trying to use the 'merge' tool within ModelBuilder in conjunction with an iterator is a headache. Say I have a model that iterates through an entire database, selects feature classes that share similar file names to pair/merge together, and then moves on to the next pair. The two+ feature classes in each individual merge share a schema. But, at the next iteration, if the next pair doesn't have the same schema as the first go-round, the tool either fails or creates countless &amp;lt;Null&amp;gt; values.&lt;/P&gt;&lt;P&gt;PLEASE find a way to add the functionality to&amp;nbsp;"field_mappings.removeAll()" after each iteration, similar to how a user would manually select the 'reset' button after running the merge tool once. Maybe a check box or something? Just like you have for including source values or not.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 16:58:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-ideas/quot-reset-field-mapping-after-each-iteration-quot/idi-p/1555496</guid>
      <dc:creator>mbramos</dc:creator>
      <dc:date>2024-11-05T16:58:40Z</dc:date>
    </item>
  </channel>
</rss>

