<?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: Connecting ID Data to Attribute table in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/connecting-id-data-to-attribute-table/m-p/1315299#M71722</link>
    <description>&lt;P&gt;Got it working, thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2023 20:51:52 GMT</pubDate>
    <dc:creator>klewis47</dc:creator>
    <dc:date>2023-08-03T20:51:52Z</dc:date>
    <item>
      <title>Connecting ID Data to Attribute table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/connecting-id-data-to-attribute-table/m-p/1314785#M71661</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I have a trigger that when you create a polygon (each has its own ID) it will add the shape area and other data to a relational table using var FeatureSetByName, dictionaries and the attribute rules. My issue is that occasionally the user might want to data directly from that relational table through the add table. What i'm trying to set up is that if there was already a polygon created with an id of 79 the user could add a row to that table and write in the 79 as the id and the area of that polygon will automatically load into the table. My thing is that since the attribute rules are based on triggers a change won't be made until something within the polygon is changed. Does anyone know how I could get the table to automatically load the data for the same ID?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="klewis47_0-1691007394462.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77143iA293D289E6CFFA6B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="klewis47_0-1691007394462.png" alt="klewis47_0-1691007394462.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;^ for example I want the null value in the second row to be the same value as the one above it.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 20:18:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/connecting-id-data-to-attribute-table/m-p/1314785#M71661</guid>
      <dc:creator>klewis47</dc:creator>
      <dc:date>2023-08-02T20:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting ID Data to Attribute table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/connecting-id-data-to-attribute-table/m-p/1314926#M71678</link>
      <description>&lt;P&gt;You have created an Attribute Rule on the fc that writes to the table. As you said, that triggers only when you edit the fc. To get the same effect when you edit the table, you have to create another Attribute Rule there that reads from the fc:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// Calculation Attribute Rule on the table
// Field: empty
// Triggers: Insert, Update

// load the polygon fc
var polygons = FeaturesetByName($datastore, "Polygons")

// find the correct polygon
var id = $feature.PolygonID
var poly = First(Filter(polygons, "PolygonID = &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/354972"&gt;@ID&lt;/a&gt;"))
if(poly == null) { return }

// and return its values:
return {
    result: {
        attributes: {
            Field1: poly.Field1,
            Field2: poly.Field2,
            Field3: poly.Field3,
        }
    }
}&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 03 Aug 2023 07:07:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/connecting-id-data-to-attribute-table/m-p/1314926#M71678</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2023-08-03T07:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting ID Data to Attribute table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/connecting-id-data-to-attribute-table/m-p/1315270#M71717</link>
      <description>&lt;P&gt;(Deleted)&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 20:53:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/connecting-id-data-to-attribute-table/m-p/1315270#M71717</guid>
      <dc:creator>klewis47</dc:creator>
      <dc:date>2023-08-03T20:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting ID Data to Attribute table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/connecting-id-data-to-attribute-table/m-p/1315290#M71720</link>
      <description>&lt;UL&gt;&lt;LI&gt;check the filter expression in line 6 (probably a copy/paste error)&lt;/LI&gt;&lt;LI&gt;check that both tables actually have a field called "shape_area"&lt;/LI&gt;&lt;LI&gt;just calculate the &lt;A href="https://developers.arcgis.com/arcade/function-reference/geometry_functions/#area" target="_blank" rel="noopener"&gt;Area()&lt;/A&gt;:&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="javascript"&gt;'shape_area': Area(poly),&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 20:26:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/connecting-id-data-to-attribute-table/m-p/1315290#M71720</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2023-08-03T20:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting ID Data to Attribute table</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/connecting-id-data-to-attribute-table/m-p/1315299#M71722</link>
      <description>&lt;P&gt;Got it working, thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 20:51:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/connecting-id-data-to-attribute-table/m-p/1315299#M71722</guid>
      <dc:creator>klewis47</dc:creator>
      <dc:date>2023-08-03T20:51:52Z</dc:date>
    </item>
  </channel>
</rss>

