<?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: ArcGIS Online Arcade Gone Wrong in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-arcade-gone-wrong/m-p/502643#M25351</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/189678"&gt;Jordan Miller&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's assume that the filter is executed correctly (which could be wrong depending on the format of the data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main issue here is the fact that you return a featureset. Featuresets can be displayed when you test the expression in the expression editor, but will not be shown up in the pop-up. You will need to go through each feature in the featureset and extract the information you need and create a text that you want to show in the pop-up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some examples where this is explained in detail are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&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;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/docs/DOC-13665-create-a-mailto-link-with-arcade"&gt;https://community.esri.com/docs/DOC-13665-create-a-mailto-link-with-arcade&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2020 21:52:00 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2020-09-09T21:52:00Z</dc:date>
    <item>
      <title>ArcGIS Online Arcade Gone Wrong</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-arcade-gone-wrong/m-p/502642#M25350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why can't i&amp;nbsp;return information accessing a related table using the arcade code on a feature class? I'm requesting an assignmentID from the feature, placing the ID in a sql expression; accessing the related table and filtering the results to match the ID with the description and returning the results when a user clicks on a point. Right now it returns blank. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;//  read out the ID of the assignment type
var assignmentID = $feature["assignmenttype"];

// create a sql expression to query on ID
var sql = "Assignment = '" + assignmentID + "'";

// access table data
var tbl = FeatureSetByName($datastore,"Assignment Types");


var related_data = Filter(tbl, sql);

return related_data‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:03:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-arcade-gone-wrong/m-p/502642#M25350</guid>
      <dc:creator>JordanMiller4</dc:creator>
      <dc:date>2021-12-11T22:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online Arcade Gone Wrong</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-arcade-gone-wrong/m-p/502643#M25351</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/189678"&gt;Jordan Miller&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's assume that the filter is executed correctly (which could be wrong depending on the format of the data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main issue here is the fact that you return a featureset. Featuresets can be displayed when you test the expression in the expression editor, but will not be shown up in the pop-up. You will need to go through each feature in the featureset and extract the information you need and create a text that you want to show in the pop-up.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some examples where this is explained in detail are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&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;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/docs/DOC-13665-create-a-mailto-link-with-arcade"&gt;https://community.esri.com/docs/DOC-13665-create-a-mailto-link-with-arcade&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2020 21:52:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-arcade-gone-wrong/m-p/502643#M25351</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-09-09T21:52:00Z</dc:date>
    </item>
  </channel>
</rss>

