<?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: Arcade - Get related information from feature in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-get-related-information-from-feature/m-p/1226155#M48599</link>
    <description>&lt;P&gt;Can you provide a link to your idea?&lt;/P&gt;</description>
    <pubDate>Thu, 27 Oct 2022 14:26:31 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2022-10-27T14:26:31Z</dc:date>
    <item>
      <title>Arcade - Get related information from feature</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-get-related-information-from-feature/m-p/1221006#M48299</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I'm trying to get information from a table to a feature based on a related field.&lt;BR /&gt;The relationship is defined by a GUID field.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So basically I have a polygon layer called "Parcel" with a field for GlobalID.&amp;nbsp; Then there is a table ("Permit") with additional information to this parcel. This "Permit" table has a field with ParcelID (= GlobalID from&amp;nbsp; Parcel). There might be more than one matching permits to a parcel.&lt;/P&gt;&lt;P&gt;Is there a way I can configure the popup of the parcel in such a way that I can get some of the related fields from the permit table?&lt;/P&gt;&lt;P&gt;Just a note: There is no relationship configured (no relationship class has been setup)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 06:56:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-get-related-information-from-feature/m-p/1221006#M48299</guid>
      <dc:creator>MarcoPoetsch</dc:creator>
      <dc:date>2022-10-12T06:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade - Get related information from feature</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-get-related-information-from-feature/m-p/1221021#M48300</link>
      <description>&lt;P&gt;Without a relationship class, you have to do the filtering yourself:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// load the permit table
var all_permits = FeatureSetByPortalItem(...)

// get the permits that belong to the parcel
var parcel_id = $feature.GlobalID
var parcel_permits = Filter(all_permits, "ParcelID = @parcel_id")

// return a default value if no permits were found
if(First(parcel_permits) == null) {
    return "No permits found for this parcel"
}

// build your output
var output = []
for(var p in parcel_permits) {
    var line = `Permit ${p.PermitNumber}, issued on ${p.PermitDate} to ${p.PermitOwner}`
    Push(output, line)
}

// conctenate and return
return Concatenate(output, TextFormatting.NewLine)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 12 Oct 2022 08:48:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-get-related-information-from-feature/m-p/1221021#M48300</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2022-10-12T08:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade - Get related information from feature</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-get-related-information-from-feature/m-p/1221543#M48320</link>
      <description>&lt;P&gt;Anyone know if there are plans to add a where clause to the FeatureSet calls like search cursor and other tools?&amp;nbsp; I have posted it before but never a response.&lt;/P&gt;&lt;P&gt;The issue I have is some of my layers are 100K+ records.&amp;nbsp; I know there is only the one record that matches my query but I have to grab all 100K then filter for the 1.&amp;nbsp; With 30+ expressions in my popup it grinds to a halt.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just add the filter to the call like this&lt;/P&gt;&lt;P&gt;FeatureSetByName(featureSetCollection, title, fields?, includeGeometry?, FilterQuery)&lt;/P&gt;&lt;P&gt;It would speed maps way up and maybe even make FeatureSet fast enough to enable it in symbology.&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 14:22:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-get-related-information-from-feature/m-p/1221543#M48320</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-10-13T14:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade - Get related information from feature</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-get-related-information-from-feature/m-p/1221907#M48339</link>
      <description>&lt;P&gt;Sounds like a good enhancement, I just kudo'd your idea about this.&lt;/P&gt;&lt;P&gt;I'm not aware of any plans in this regard, but the ESRI staff in the Arcade related ideas isn't very communicative.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2022 05:23:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-get-related-information-from-feature/m-p/1221907#M48339</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2022-10-14T05:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade - Get related information from feature</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-get-related-information-from-feature/m-p/1222361#M48358</link>
      <description>&lt;P&gt;Genius. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2022 02:35:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-get-related-information-from-feature/m-p/1222361#M48358</guid>
      <dc:creator>MarcoPoetsch</dc:creator>
      <dc:date>2022-10-17T02:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade - Get related information from feature</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-get-related-information-from-feature/m-p/1226155#M48599</link>
      <description>&lt;P&gt;Can you provide a link to your idea?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 14:26:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-get-related-information-from-feature/m-p/1226155#M48599</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-10-27T14:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade - Get related information from feature</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-get-related-information-from-feature/m-p/1226158#M48600</link>
      <description>&lt;P&gt;thanks i should have posted it.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-online-ideas/add-a-sql-clause-to-the-featureset-tool-calls/idi-p/1137871" target="_blank"&gt;https://community.esri.com/t5/arcgis-online-ideas/add-a-sql-clause-to-the-featureset-tool-calls/idi-p/1137871&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 14:33:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-get-related-information-from-feature/m-p/1226158#M48600</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-10-27T14:33:15Z</dc:date>
    </item>
  </channel>
</rss>

