<?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: Attribute Rules Preventing Layer from Loading in Field Maps in Attribute Rules Questions</title>
    <link>https://community.esri.com/t5/attribute-rules-questions/attribute-rules-preventing-layer-from-loading-in/m-p/1677907#M1918</link>
    <description>&lt;P&gt;I have spent 3 weeks with Esri tech support due to this issue, and you just solved it, not them. Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/4413"&gt;@DavidSolari&lt;/a&gt;&amp;nbsp;..&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jan 2026 18:03:06 GMT</pubDate>
    <dc:creator>ahargreaves_FW</dc:creator>
    <dc:date>2026-01-14T18:03:06Z</dc:date>
    <item>
      <title>Attribute Rules Preventing Layer from Loading in Field Maps</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/attribute-rules-preventing-layer-from-loading-in/m-p/1576824#M1665</link>
      <description>&lt;P&gt;I have attribute rules setup in my enterprise geodatabase on a point feature class.&amp;nbsp; It's a fairly simple arcade expression that pulls the most recent inspection date from a related table.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;var inspTable = OrderBy(FeatureSetByRelationshipClass($feature, 'DBO.Outfall_to_IDEPScreening'), 'ObsDateTime DESC');&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;var mostRecent = First(inspTable);&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;If(!IsEmpty(mostRecent))&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;Return mostRecent.ObsDateTime;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;Else&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT size="2"&gt;Return null;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The rule works great in ArcGIS Pro.&amp;nbsp; When I republish the service, the layer will not load in Field Maps.&amp;nbsp; However, it will load in the ArcGIS Online map viewer without issue.&amp;nbsp; After much searching, ChatGPT tells me that attribute rules are not fully supported in Field Maps.&lt;/P&gt;&lt;P&gt;Anyone have any insight on this issue?&amp;nbsp; I think my workaround will be to implement the arcade on the fields in the web map.&amp;nbsp; This creates the problem where the data is only updated in the web map, I would like it to be updated regardless of where/when an edit occurs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Darryl Albert&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 16:08:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/attribute-rules-preventing-layer-from-loading-in/m-p/1576824#M1665</guid>
      <dc:creator>DarrylAlbert</dc:creator>
      <dc:date>2025-01-17T16:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules Preventing Layer from Loading in Field Maps</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/attribute-rules-preventing-layer-from-loading-in/m-p/1576830#M1666</link>
      <description>&lt;P&gt;As per tradition, ChatGPT is subtly incorrect: you can't author attribute rules in the Field Maps designer, but if you're using a registered feature service with attribute rules those can work just fine. A couple of things to check:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Did you check off "&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/overview/create-modify-and-delete-attribute-rules.htm#ESRI_SECTION2_174939E30E7247C59580F8BBADF15E7D" target="_self"&gt;Exclude from application evaluation&lt;/A&gt;" for your rule? If you don't enable this option, Field Maps will try to evaluate the rule before submitting any data, which is impossible without the related table on hand. In general, if your attribute rule refers to any data outside the current &lt;FONT face="courier new,courier"&gt;$feature&lt;/FONT&gt; you must check this box to prevent errors.&lt;/LI&gt;&lt;LI&gt;Another possible issue:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;FeatureSetByRelationshipClass&lt;/FONT&gt; is a fairly new function and your Enterprise might not fully support it. You may need to use the more available &lt;FONT face="courier new,courier"&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipname" target="_self"&gt;FeatureSetByRelationshipName&lt;/A&gt;&lt;/FONT&gt; function to grab your related data.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 17 Jan 2025 16:42:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/attribute-rules-preventing-layer-from-loading-in/m-p/1576830#M1666</guid>
      <dc:creator>DavidSolari</dc:creator>
      <dc:date>2025-01-17T16:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Rules Preventing Layer from Loading in Field Maps</title>
      <link>https://community.esri.com/t5/attribute-rules-questions/attribute-rules-preventing-layer-from-loading-in/m-p/1677907#M1918</link>
      <description>&lt;P&gt;I have spent 3 weeks with Esri tech support due to this issue, and you just solved it, not them. Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/4413"&gt;@DavidSolari&lt;/a&gt;&amp;nbsp;..&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2026 18:03:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/attribute-rules-questions/attribute-rules-preventing-layer-from-loading-in/m-p/1677907#M1918</guid>
      <dc:creator>ahargreaves_FW</dc:creator>
      <dc:date>2026-01-14T18:03:06Z</dc:date>
    </item>
  </channel>
</rss>

