<?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: Modelbuilder: Why is &amp;lt;u&amp;quot;&amp;gt; being added to my calculation values? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675523#M101005</link>
    <description>&lt;P&gt;This is a ModelBuilder evaluation-order issue, not user error.&lt;/P&gt;&lt;P&gt;Inline substitution (%Field Name%) is resolved before Calculate Field runs, but the expression itself is parsed later. The result is that the substituted value is treated as literal text, not a field reference — which is why you see the field name written into the row.&lt;/P&gt;&lt;P&gt;Don’t use inline substitution inside Calculate Field expressions. Always use the actual field token (!FieldName!) or resolve the expression first (e.g., with Calculate Value) and pass it in.&lt;/P&gt;&lt;P&gt;The %variables% and Calculate Field don’t play nicely together due to timing — explicit field tokens are the safe path.&lt;/P&gt;</description>
    <pubDate>Wed, 31 Dec 2025 23:00:06 GMT</pubDate>
    <dc:creator>VenkataKondepati</dc:creator>
    <dc:date>2025-12-31T23:00:06Z</dc:date>
    <item>
      <title>Modelbuilder: Why is &lt;u"&gt; being added to my calculation values?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675440#M100986</link>
      <description>&lt;P&gt;I have a simple calculation in a Calculate Field tool in modelbuilder. %Field Name% is a variable that references an actual field that is in the attribute table.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RandyMcGregor_BMcD_0-1767194030601.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/146176iADEC4A25512D785D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RandyMcGregor_BMcD_0-1767194030601.png" alt="RandyMcGregor_BMcD_0-1767194030601.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is what the results look like:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RandyMcGregor_BMcD_1-1767194135032.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/146177i6C907B237283FB42/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RandyMcGregor_BMcD_1-1767194135032.png" alt="RandyMcGregor_BMcD_1-1767194135032.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have been using inline variable substitution regularly and have never seen anything like this. If I double-click the field from the drop-down, instead of using '!%Field Name%!', it works as desired.&lt;/P&gt;&lt;P&gt;Does anyone know what is going on here and how to correct it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Randy McGregor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 16:33:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675440#M100986</guid>
      <dc:creator>RandyMcGregor_BMcD</dc:creator>
      <dc:date>2025-12-31T16:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Modelbuilder: Why is &lt;u"&gt; being added to my calculation values?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675444#M100987</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/719826"&gt;@RandyMcGregor_BMcD&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would it be possible to test the function without the exclamation points? I remember having an issue where the exclamation points were causing an issue, but I'm unfortunately no longer able to test and can only give suggestions!&lt;/P&gt;&lt;P&gt;Cody&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 16:07:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675444#M100987</guid>
      <dc:creator>CodyPatterson</dc:creator>
      <dc:date>2025-12-31T16:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Modelbuilder: Why is &lt;u"&gt; being added to my calculation values?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675456#M100989</link>
      <description>&lt;P&gt;Thanks for the suggestion. I'll give it a try.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 16:34:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675456#M100989</guid>
      <dc:creator>RandyMcGregor_BMcD</dc:creator>
      <dc:date>2025-12-31T16:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Modelbuilder: Why is &lt;u"&gt; being added to my calculation values?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675489#M100995</link>
      <description>&lt;P&gt;That populated the field with the&amp;nbsp;&lt;EM&gt;name&lt;/EM&gt; of the field. I tried Arcade and had the same effect. I have no memory of ever having to clarify that I want the&amp;nbsp;&lt;EM&gt;contents&lt;/EM&gt; of the field, rather than it's name to populate reccords. I'm either having an end-of-year brain freeze, or something strange is going on. 'ParishXed3' is the name of the field.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RandyMcGregor_BMcD_0-1767208394461.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/146186iCDC9701868E6A4BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RandyMcGregor_BMcD_0-1767208394461.png" alt="RandyMcGregor_BMcD_0-1767208394461.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RandyMcGregor_BMcD_1-1767208458066.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/146187iE7EF71F4038E8400/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RandyMcGregor_BMcD_1-1767208458066.png" alt="RandyMcGregor_BMcD_1-1767208458066.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I select the field from the drop-down, it works fine:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RandyMcGregor_BMcD_2-1767208618670.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/146190i8E17B38DF96AC4EA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RandyMcGregor_BMcD_2-1767208618670.png" alt="RandyMcGregor_BMcD_2-1767208618670.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RandyMcGregor_BMcD_3-1767208671628.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/146191i6DD2593200020ABF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RandyMcGregor_BMcD_3-1767208671628.png" alt="RandyMcGregor_BMcD_3-1767208671628.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 19:18:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675489#M100995</guid>
      <dc:creator>RandyMcGregor_BMcD</dc:creator>
      <dc:date>2025-12-31T19:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Modelbuilder: Why is &lt;u"&gt; being added to my calculation values?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675492#M100996</link>
      <description>&lt;P&gt;Oookay, so I went back to python and put the "!" marks outside of the quote marks and that works.&amp;nbsp; There's some trick to getting arcade to recognize that you are asking for the value within the field, rather than the field's name, but I don't know what it is.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RandyMcGregor_BMcD_4-1767209401722.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/146192i8DC4C7830930242C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RandyMcGregor_BMcD_4-1767209401722.png" alt="RandyMcGregor_BMcD_4-1767209401722.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 19:30:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675492#M100996</guid>
      <dc:creator>RandyMcGregor_BMcD</dc:creator>
      <dc:date>2025-12-31T19:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Modelbuilder: Why is &lt;u"&gt; being added to my calculation values?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675523#M101005</link>
      <description>&lt;P&gt;This is a ModelBuilder evaluation-order issue, not user error.&lt;/P&gt;&lt;P&gt;Inline substitution (%Field Name%) is resolved before Calculate Field runs, but the expression itself is parsed later. The result is that the substituted value is treated as literal text, not a field reference — which is why you see the field name written into the row.&lt;/P&gt;&lt;P&gt;Don’t use inline substitution inside Calculate Field expressions. Always use the actual field token (!FieldName!) or resolve the expression first (e.g., with Calculate Value) and pass it in.&lt;/P&gt;&lt;P&gt;The %variables% and Calculate Field don’t play nicely together due to timing — explicit field tokens are the safe path.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Dec 2025 23:00:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675523#M101005</guid>
      <dc:creator>VenkataKondepati</dc:creator>
      <dc:date>2025-12-31T23:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Modelbuilder: Why is &lt;u"&gt; being added to my calculation values?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675694#M101016</link>
      <description>&lt;P&gt;Thank you very much for that explanation. Very interesting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jan 2026 19:45:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675694#M101016</guid>
      <dc:creator>RandyMcGregor_BMcD</dc:creator>
      <dc:date>2026-01-02T19:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Modelbuilder: Why is &lt;u"&gt; being added to my calculation values?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675696#M101017</link>
      <description>&lt;P&gt;I did have luck with !'%field name variable%'! though. Keeping the exclamation marks outside the quote marks worked. I think your advice will help with Arcade expressions. I'll give it a try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2026 14:22:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/modelbuilder-why-is-lt-u-quot-gt-being-added-to-my/m-p/1675696#M101017</guid>
      <dc:creator>RandyMcGregor_BMcD</dc:creator>
      <dc:date>2026-01-05T14:22:16Z</dc:date>
    </item>
  </channel>
</rss>

