<?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: How to use the FeatureSetByRelationshipName Arcade function? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-the-featuresetbyrelationshipname-arcade/m-p/348489#M17448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/388467"&gt;David Krady&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The test result shows that you are receiving a featureset. A featureset however, cannot be visualized in a pop-up, that is why you won't see the information. You need to extract the relevant information from the featureset and&amp;nbsp;return that as a (multiline) string or value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you want to show in the pop-up?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Feb 2020 18:56:52 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2020-02-20T18:56:52Z</dc:date>
    <item>
      <title>How to use the FeatureSetByRelationshipName Arcade function?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-the-featuresetbyrelationshipname-arcade/m-p/348488#M17447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to display related table information in my popups within my webmap. I have a layer and its associated related table within my layer list. I set up the Arcade function (FeatureSetByRelationshipName)&amp;nbsp;within the custom attribute expression following the documentation online. When testing the function it seems to work as it should but when I click the popup within the map I get no information. How can I display my feature layer and related table information within the popup?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/482844_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2020 18:45:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-the-featuresetbyrelationshipname-arcade/m-p/348488#M17447</guid>
      <dc:creator>DaveK</dc:creator>
      <dc:date>2020-02-20T18:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the FeatureSetByRelationshipName Arcade function?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-the-featuresetbyrelationshipname-arcade/m-p/348489#M17448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/388467"&gt;David Krady&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The test result shows that you are receiving a featureset. A featureset however, cannot be visualized in a pop-up, that is why you won't see the information. You need to extract the relevant information from the featureset and&amp;nbsp;return that as a (multiline) string or value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you want to show in the pop-up?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2020 18:56:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-the-featuresetbyrelationshipname-arcade/m-p/348489#M17448</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-02-20T18:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the FeatureSetByRelationshipName Arcade function?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-the-featuresetbyrelationshipname-arcade/m-p/348490#M17449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/3100"&gt;Xander Bakker&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to show the fields for the layer as well as all of the fields for the related table within the popup.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2020 19:01:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-the-featuresetbyrelationshipname-arcade/m-p/348490#M17449</guid>
      <dc:creator>DaveK</dc:creator>
      <dc:date>2020-02-20T19:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the FeatureSetByRelationshipName Arcade function?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-the-featuresetbyrelationshipname-arcade/m-p/348491#M17450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/388467"&gt;David Krady&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently there is no support for returning a featureset, as you noticed. You will have to gather the information of each related feature and each field and this&amp;nbsp;might make the expression a bit long and the visualization is limited since you cannot return HTML (yet).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2020 19:06:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-the-featuresetbyrelationshipname-arcade/m-p/348491#M17450</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-02-20T19:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the FeatureSetByRelationshipName Arcade function?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-the-featuresetbyrelationshipname-arcade/m-p/348492#M17451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to extract a single field from the&amp;nbsp;related table to show within the popup along with the layer attributes? Would you have an example on how to gather a related feature and field to display within the popup?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2020 19:15:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-the-featuresetbyrelationshipname-arcade/m-p/348492#M17451</guid>
      <dc:creator>DaveK</dc:creator>
      <dc:date>2020-02-20T19:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the FeatureSetByRelationshipName Arcade function?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-use-the-featuresetbyrelationshipname-arcade/m-p/348493#M17452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/388467"&gt;David Krady&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the discussion here:&amp;nbsp;&lt;A href="https://community.esri.com/thread/243270"&gt;How to get attribute with last date modified from related table using Arcade&lt;/A&gt;&amp;nbsp;you will see an example of hao to extract a single value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;FeatureSetByRelationshipName returns a featureset and you can also loop through all related records to gather a list of data and present that in the pop-up as is described here:&amp;nbsp;&lt;A href="https://community.esri.com/docs/DOC-12773"&gt;Using FeatureSetBy functions in Arcade to drill-down to other layers and tables&lt;/A&gt;&amp;nbsp;(see the second and following expressions).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;You can also apply statistical functions (sum, min, max, mean, etc) on the featureset.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2020 12:44:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-use-the-featuresetbyrelationshipname-arcade/m-p/348493#M17452</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-02-21T12:44:51Z</dc:date>
    </item>
  </channel>
</rss>

