<?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 Concatenate two fields in standalone table in ArcPro project in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/concatenate-two-fields-in-standalone-table-in/m-p/1588290#M93316</link>
    <description>&lt;P&gt;Is it possible to concatenate 2 columns in a standalone table within an arcpro project?&amp;nbsp; I believe this would be possible within the attribute rules of the table, but I am not familiar with attribute rules and how to set them up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;</description>
    <pubDate>Sat, 22 Feb 2025 13:20:53 GMT</pubDate>
    <dc:creator>EngineeringLockport</dc:creator>
    <dc:date>2025-02-22T13:20:53Z</dc:date>
    <item>
      <title>Concatenate two fields in standalone table in ArcPro project</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/concatenate-two-fields-in-standalone-table-in/m-p/1588290#M93316</link>
      <description>&lt;P&gt;Is it possible to concatenate 2 columns in a standalone table within an arcpro project?&amp;nbsp; I believe this would be possible within the attribute rules of the table, but I am not familiar with attribute rules and how to set them up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2025 13:20:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/concatenate-two-fields-in-standalone-table-in/m-p/1588290#M93316</guid>
      <dc:creator>EngineeringLockport</dc:creator>
      <dc:date>2025-02-22T13:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate two fields in standalone table in ArcPro project</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/concatenate-two-fields-in-standalone-table-in/m-p/1588293#M93317</link>
      <description>&lt;P&gt;You mean by not adding a new text field and concatenating two existing fields into the new one, I am guessing.&lt;/P&gt;&lt;P&gt;This is the existing calculation topic&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/attribute-rule-script-expression.htm" target="_blank"&gt;Attribute rule script expression examples—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or there may be something in their github site&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcade-expressions/tree/master?tab=readme-ov-file" target="_blank"&gt;Esri/arcade-expressions: ArcGIS Arcade expression templates for all supported profiles in the ArcGIS platform.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2025 16:21:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/concatenate-two-fields-in-standalone-table-in/m-p/1588293#M93317</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-02-22T16:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate two fields in standalone table in ArcPro project</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/concatenate-two-fields-in-standalone-table-in/m-p/1588318#M93320</link>
      <description>&lt;P&gt;This is the first time I tried this so I suggest you experiment with dummy data.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Make sure the table is in a geodatabase. Export as needed.&lt;/LI&gt;&lt;LI&gt;The standalone table should have a GlobalID field. Use the &lt;STRONG&gt;Add Global IDs&lt;/STRONG&gt; GP tool.&lt;/LI&gt;&lt;LI&gt;Create a new (text) field in the table to receive the results. You can specify an existing field but it will overwrite values. &amp;nbsp;&lt;/LI&gt;&lt;LI&gt;There are a few ways to open the Attribute Rules view, but in this example, the target table was added to a Map &amp;gt; right click on the table &amp;gt; &lt;STRONG&gt;Data Design&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;Attribute Rules&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Under the &lt;STRONG&gt;Calculation&lt;/STRONG&gt; tab &amp;gt; &lt;STRONG&gt;Add Rule&lt;/STRONG&gt; pulldown &amp;gt; click &lt;STRONG&gt;Immediate Calculation&lt;/STRONG&gt;. A panel opens on the right called New Rule.&lt;UL&gt;&lt;LI&gt;Rename the Rule Name as Concatenate Fields for example.&lt;/LI&gt;&lt;LI&gt;Set the target &lt;STRONG&gt;Field&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Build the expression. In my example, I am concatenating text field &lt;STRONG&gt;ident&lt;/STRONG&gt; with &lt;STRONG&gt;model&lt;/STRONG&gt; with a space between.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;var ident = $feature.ident;&lt;/P&gt;&lt;P&gt;var model = $feature.model&lt;/P&gt;&lt;P&gt;return Concatenate([ident +" "+ model], ' ');&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Set the Triggers to &lt;STRONG&gt;Insert&lt;/STRONG&gt; and &lt;STRONG&gt;Update&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Triggering Fields is explained &lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-pro/data-management/attribute-rules-triggering-fields/" target="_blank"&gt;here&lt;/A&gt;. In our example we want attribute rules to apply only when updates are done to fields ident and model so we could set them active.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarryNorthey_0-1740255249740.png" style="width: 200px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/126063i0F5EBAAD4E97B873/image-size/small?v=v2&amp;amp;px=200" role="button" title="BarryNorthey_0-1740255249740.png" alt="BarryNorthey_0-1740255249740.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Make sure that &lt;STRONG&gt;Execution&lt;/STRONG&gt; is not Disabled.&lt;/LI&gt;&lt;LI&gt;Click &lt;STRONG&gt;Save&lt;/STRONG&gt; in the &lt;STRONG&gt;Manage Edits&lt;/STRONG&gt; group.&lt;/LI&gt;&lt;LI&gt;Close the Attributes Rule view.&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;Insert a new row in your table and add values to fields ident and model. Field ident_model should update. You can Save or Discard the edits.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;An Attribute Rule can be disabled here by checking it on in the Disabled column.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarryNorthey_1-1740255322547.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/126064i7BB0BDE15EBE081B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BarryNorthey_1-1740255322547.png" alt="BarryNorthey_1-1740255322547.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;</description>
      <pubDate>Sat, 22 Feb 2025 20:21:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/concatenate-two-fields-in-standalone-table-in/m-p/1588318#M93320</guid>
      <dc:creator>BarryNorthey</dc:creator>
      <dc:date>2025-02-22T20:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate two fields in standalone table in ArcPro project</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/concatenate-two-fields-in-standalone-table-in/m-p/1588646#M93357</link>
      <description>&lt;P&gt;are you needing an attribute rule, or just looking for a way to concatenate?&lt;/P&gt;&lt;P&gt;Easiest way is probably with the Field Calculator.&amp;nbsp; Open the attribute table in Pro, enable editing, right click on the field you want to update, select Calculate Field&amp;nbsp; (or use Claculate Field GP Tool), then set expression to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;!field1! + " " + !field2!&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;will concatenate the two field values into one field with a space separating them.&amp;nbsp; (remove the + " " to get rid of the space)&lt;BR /&gt;If you are wanting this 'automatically' when you add/edit the data, then an attribute rule is probably what you are after.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 17:59:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/concatenate-two-fields-in-standalone-table-in/m-p/1588646#M93357</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2025-02-24T17:59:37Z</dc:date>
    </item>
  </channel>
</rss>

