<?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 FeatureSetByRelationshipClass validate error - unknown function in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/featuresetbyrelationshipclass-validate-error/m-p/1365608#M6881</link>
    <description>&lt;P&gt;I am trying to set up a Field Map which can auto-populate an inspection field in a related table from an existing point&lt;/P&gt;&lt;P&gt;I created the Relationship Class - we can call 'Rel_Name'&lt;/P&gt;&lt;P&gt;Then in Attribute Rules for the table I created a Calculation rule as follows:&lt;/P&gt;&lt;P&gt;"var parent = FeatureSetByRelationshipClass($feature, 'Rel_Name', ['Field_Name'])&lt;BR /&gt;return First(parent)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Validating throws the following error - "Invalid expression. Error on Line 1. Unknown Function."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone advise?&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jan 2024 21:43:01 GMT</pubDate>
    <dc:creator>WilliamDoane9</dc:creator>
    <dc:date>2024-01-02T21:43:01Z</dc:date>
    <item>
      <title>FeatureSetByRelationshipClass validate error - unknown function</title>
      <link>https://community.esri.com/t5/developers-questions/featuresetbyrelationshipclass-validate-error/m-p/1365608#M6881</link>
      <description>&lt;P&gt;I am trying to set up a Field Map which can auto-populate an inspection field in a related table from an existing point&lt;/P&gt;&lt;P&gt;I created the Relationship Class - we can call 'Rel_Name'&lt;/P&gt;&lt;P&gt;Then in Attribute Rules for the table I created a Calculation rule as follows:&lt;/P&gt;&lt;P&gt;"var parent = FeatureSetByRelationshipClass($feature, 'Rel_Name', ['Field_Name'])&lt;BR /&gt;return First(parent)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Validating throws the following error - "Invalid expression. Error on Line 1. Unknown Function."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone advise?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 21:43:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/featuresetbyrelationshipclass-validate-error/m-p/1365608#M6881</guid>
      <dc:creator>WilliamDoane9</dc:creator>
      <dc:date>2024-01-02T21:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureSetByRelationshipClass validate error - unknown function</title>
      <link>https://community.esri.com/t5/developers-questions/featuresetbyrelationshipclass-validate-error/m-p/1365622#M6882</link>
      <description>&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass" target="_self"&gt;FeatureSetByRelationshipClass&lt;/A&gt; was released in the most current version of Arcade (v1.24), which may not work in Field Maps yet. Can you use &lt;A href="https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipname" target="_self"&gt;FeatureSetByRelationshipName&lt;/A&gt; instead?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 22:12:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/featuresetbyrelationshipclass-validate-error/m-p/1365622#M6882</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2024-01-02T22:12:46Z</dc:date>
    </item>
  </channel>
</rss>

