<?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: Update a single entry in a Feature Class in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/update-a-single-entry-in-a-feature-class/m-p/837075#M1371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok this makes sense. I think I was going the export/build/import route to avoid that exact risk of overwriting everything. In another script I have used the Get Count tool after the Selection tool which I then feed into the Stop&amp;nbsp;(When inputs are false) tool to help prevent the above mentioned possibility. If each value is supposed to be unique then I should only return either a 0 or a 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this an adequate method of trying to avoid that scenario or is there another better method of preventing that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2019 18:02:26 GMT</pubDate>
    <dc:creator>JacobHolcombe</dc:creator>
    <dc:date>2019-02-15T18:02:26Z</dc:date>
    <item>
      <title>Update a single entry in a Feature Class</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/update-a-single-entry-in-a-feature-class/m-p/837072#M1368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to update a single entry in a feature class with new data from a work order. I have a feature class that contains all of the meter's in within an area. When the crew goes out into the field and change out a part they bring me a work order with the new serial number, model etc. Is there a way in model builder to select the single entry to be modified and update it with these new values? So far the only method I have come up with was to create a new feature class with the Select tool, then using the Calculate Field tool update each field. The problem has been getting this data back into the source feature class. I was trying to avoid a situation where I delete the old record and append the newly created one if possible.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 23:12:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/update-a-single-entry-in-a-feature-class/m-p/837072#M1368</guid>
      <dc:creator>JacobHolcombe</dc:creator>
      <dc:date>2019-02-05T23:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Update a single entry in a Feature Class</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/update-a-single-entry-in-a-feature-class/m-p/837073#M1369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;All tools honour a selection, this is basic GIS&lt;/STRONG&gt;. So select your row first using the select by attribute tool then run the field calculate tool on the field you want to update. The update will only apply to the &lt;STRONG&gt;selection&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be aware that if your initial selection fails, for example they have returned an incorrect serial number then when you run the calculate field tool it will overwrite &lt;EM&gt;everything&lt;/EM&gt; as there is no selection and there is &lt;STRONG&gt;NO UNDO&lt;/STRONG&gt; for that action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should not be exporting, editing and then importing that is&amp;nbsp;simply inefficient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggest you create some test data and explore this approach before you apply it to your operational data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2019 10:11:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/update-a-single-entry-in-a-feature-class/m-p/837073#M1369</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2019-02-15T10:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Update a single entry in a Feature Class</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/update-a-single-entry-in-a-feature-class/m-p/837074#M1370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;....ps... if you turn on editing then you undo the calculate tool ..... but you will have to remember so save edits for the changes to take.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2019 15:22:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/update-a-single-entry-in-a-feature-class/m-p/837074#M1370</guid>
      <dc:creator>TedKowal</dc:creator>
      <dc:date>2019-02-15T15:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Update a single entry in a Feature Class</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/update-a-single-entry-in-a-feature-class/m-p/837075#M1371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok this makes sense. I think I was going the export/build/import route to avoid that exact risk of overwriting everything. In another script I have used the Get Count tool after the Selection tool which I then feed into the Stop&amp;nbsp;(When inputs are false) tool to help prevent the above mentioned possibility. If each value is supposed to be unique then I should only return either a 0 or a 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this an adequate method of trying to avoid that scenario or is there another better method of preventing that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2019 18:02:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/update-a-single-entry-in-a-feature-class/m-p/837075#M1371</guid>
      <dc:creator>JacobHolcombe</dc:creator>
      <dc:date>2019-02-15T18:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Update a single entry in a Feature Class</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/update-a-single-entry-in-a-feature-class/m-p/837076#M1372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Absolutely. I have also used the Get Count as a precondition to stop the flow of logic rather than stop the whole model. If you are willing to try model builder in ArcGIS Pro then there is an &lt;A href="http://pro.arcgis.com/en/pro-app/tool-reference/modelbuilder-toolbox/if-selection-exists.htm"&gt;If Selection Exists&lt;/A&gt; tool to control work flow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Feb 2019 09:33:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/update-a-single-entry-in-a-feature-class/m-p/837076#M1372</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2019-02-18T09:33:43Z</dc:date>
    </item>
  </channel>
</rss>

