<?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 Add value to attribute table with ModelBuilder in ModelBuilder Questions</title>
    <link>https://community.esri.com/t5/modelbuilder-questions/add-value-to-attribute-table-with-modelbuilder/m-p/846756#M1273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I need to add a specific value to an attribute table in the model builder. The whole basic workflow is as follow:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;from a point file extract all points with a specific value (=year)&lt;/LI&gt;&lt;LI&gt;create heatmap of the extracted points&lt;/LI&gt;&lt;LI&gt;create polygon based on the heatmap of the denser region(s)&lt;/LI&gt;&lt;LI&gt;create a new field in the attribute table of the polygon layer from point 3&lt;/LI&gt;&lt;LI&gt;write the specific value extracted at point 1 (=year) in the attribute table&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Everything wents well so far, but I'm stuck at the point of add the specific value to the attribute table. I add a "calculator expression" to specify the points to extract in point 1 and was hoping to use the same expression to add it to the attribute table (point 5), but while point 1 is working as expected, point 5 isn't. I'm also not able to get it work by adding the expression directly inside the "calculate field" command. &lt;/P&gt;&lt;P&gt;Can anybody maybe help me to solve this problem?&lt;/P&gt;&lt;P&gt;Thank you very much in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jun 2019 11:19:20 GMT</pubDate>
    <dc:creator>BrigitDanthine</dc:creator>
    <dc:date>2019-06-11T11:19:20Z</dc:date>
    <item>
      <title>Add value to attribute table with ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/add-value-to-attribute-table-with-modelbuilder/m-p/846756#M1273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I need to add a specific value to an attribute table in the model builder. The whole basic workflow is as follow:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;from a point file extract all points with a specific value (=year)&lt;/LI&gt;&lt;LI&gt;create heatmap of the extracted points&lt;/LI&gt;&lt;LI&gt;create polygon based on the heatmap of the denser region(s)&lt;/LI&gt;&lt;LI&gt;create a new field in the attribute table of the polygon layer from point 3&lt;/LI&gt;&lt;LI&gt;write the specific value extracted at point 1 (=year) in the attribute table&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Everything wents well so far, but I'm stuck at the point of add the specific value to the attribute table. I add a "calculator expression" to specify the points to extract in point 1 and was hoping to use the same expression to add it to the attribute table (point 5), but while point 1 is working as expected, point 5 isn't. I'm also not able to get it work by adding the expression directly inside the "calculate field" command. &lt;/P&gt;&lt;P&gt;Can anybody maybe help me to solve this problem?&lt;/P&gt;&lt;P&gt;Thank you very much in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2019 11:19:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/add-value-to-attribute-table-with-modelbuilder/m-p/846756#M1273</guid>
      <dc:creator>BrigitDanthine</dc:creator>
      <dc:date>2019-06-11T11:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Add value to attribute table with ModelBuilder</title>
      <link>https://community.esri.com/t5/modelbuilder-questions/add-value-to-attribute-table-with-modelbuilder/m-p/846757#M1274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would recommend not attempting to join the expression to both the Make Feature Layer and Field Calculator tool. For the Make FeatureLayer tool the expression is correct as it as a valid SQL expression. For field calculator it is invalid as you only need to provide the value that you want to assign the the field &lt;STRONG&gt;art_id&lt;/STRONG&gt;. If you think about it your field calculate is saying &lt;STRONG&gt;set art_id to equal "art_id" = '1990_114_4'&amp;nbsp;&lt;/STRONG&gt; which is gibberish. You simply want to set art_id to the text "1990_114_4" not a SQL expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2019 09:12:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/modelbuilder-questions/add-value-to-attribute-table-with-modelbuilder/m-p/846757#M1274</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2019-06-12T09:12:42Z</dc:date>
    </item>
  </channel>
</rss>

