<?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 Attribute Rules in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules/m-p/1478982#M83799</link>
    <description>&lt;P&gt;I created an attribute rule for the address point layer where the APN field is populated from the Parcel layer APN field. It works as expected when I connect to the Enterprise Geodatabase and add pull the address point feature class directly from the EGDB.&amp;nbsp; We also have bulk published items from EGDB, so for each of the feature class stored in EGDB, we published a feature layer and a map layer to Portal.&amp;nbsp; The intersect attribute rule does not work if I edit against the feature layer instead of directly connect to EGDB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I use FeatureSetByName in the rule because FeatureSetByPortalItem does not work:&lt;/P&gt;&lt;P&gt;var intersecting_field = "APN";&lt;BR /&gt;var intersecting_featset = FeatureSetByName($datastore, 'GIS.PARCEL', [intersecting_field], true);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect it's because the $datastore is not recognized when I edit against the feature layer?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
    <pubDate>Mon, 27 May 2024 05:59:42 GMT</pubDate>
    <dc:creator>ChenChen4</dc:creator>
    <dc:date>2024-05-27T05:59:42Z</dc:date>
    <item>
      <title>Attribute Rules</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules/m-p/1478982#M83799</link>
      <description>&lt;P&gt;I created an attribute rule for the address point layer where the APN field is populated from the Parcel layer APN field. It works as expected when I connect to the Enterprise Geodatabase and add pull the address point feature class directly from the EGDB.&amp;nbsp; We also have bulk published items from EGDB, so for each of the feature class stored in EGDB, we published a feature layer and a map layer to Portal.&amp;nbsp; The intersect attribute rule does not work if I edit against the feature layer instead of directly connect to EGDB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I use FeatureSetByName in the rule because FeatureSetByPortalItem does not work:&lt;/P&gt;&lt;P&gt;var intersecting_field = "APN";&lt;BR /&gt;var intersecting_featset = FeatureSetByName($datastore, 'GIS.PARCEL', [intersecting_field], true);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect it's because the $datastore is not recognized when I edit against the feature layer?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 05:59:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/attribute-rules/m-p/1478982#M83799</guid>
      <dc:creator>ChenChen4</dc:creator>
      <dc:date>2024-05-27T05:59:42Z</dc:date>
    </item>
  </channel>
</rss>

