<?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] How to retrieve all values which has a common ID in another collumn ? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505394#M60216</link>
    <description>&lt;P&gt;Maybe i miss something because it's not working already.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to miss a ")" in your line 4 and i don't understand on the line 4 what does mean "&lt;/P&gt;&lt;PRE&gt;Filter(fs, `manager_id = '${$feature['manager_id']}'`&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;why there is duble ${$ ?&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jul 2024 14:30:20 GMT</pubDate>
    <dc:creator>JasonBOCQUET</dc:creator>
    <dc:date>2024-07-15T14:30:20Z</dc:date>
    <item>
      <title>[Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505371#M60212</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working sometimes on Arcade and i'm blocked by a point :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table with some teams of people. Each people have a manager (the ID is MANAG001, MANAG002...).&lt;/P&gt;&lt;P&gt;Each people is represented by a point on a map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want by clicking on one of the people be able to see on the pop-up box all of the other people who have the same manager that the guy who I clicking on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I click on me, i'm able to see my manager is MANAG004 and i can see the other people who are managed by MANAG004 on a list or a table in the popup.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do that with Arcade expression ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've read that&amp;nbsp;&lt;SPAN&gt;Arcade does not support direct interaction with the clicked point’s ID; so maybe i can"t do that ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 13:59:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505371#M60212</guid>
      <dc:creator>JasonBOCQUET</dc:creator>
      <dc:date>2024-07-15T13:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505392#M60214</link>
      <description>&lt;P&gt;No direct interaction, that's true, but pulling the values into a list and displaying the text is fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var fs = FeatureSetByName($map, 'people table', ['name', 'manager_id'], false)

// filter features for matching manager id
var filt_fs = Filter(fs, `manager_id = '${$feature['manager_id']}'`)

// loop through matches, create list
var match_arr = []
for (var f in filt_fs) {
  Push(match_arr, f['name'])
}

return Concatenate(match_arr, '\n')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;This will spit out a list of names, each on their own line of text. Swap in your table / field names as needed, see how it works for you.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 14:40:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505392#M60214</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-07-15T14:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505394#M60216</link>
      <description>&lt;P&gt;Maybe i miss something because it's not working already.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to miss a ")" in your line 4 and i don't understand on the line 4 what does mean "&lt;/P&gt;&lt;PRE&gt;Filter(fs, `manager_id = '${$feature['manager_id']}'`&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;why there is duble ${$ ?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 14:30:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505394#M60216</guid>
      <dc:creator>JasonBOCQUET</dc:creator>
      <dc:date>2024-07-15T14:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505397#M60217</link>
      <description>&lt;P&gt;Ah, you're right, there should be a closing parenthesis on that line. I'll edit the original post.&lt;/P&gt;&lt;P&gt;The filter statement is using a &lt;STRONG&gt;template literal&lt;/STRONG&gt;, a kind of text string where you can insert values into it using ${…}. Anything inside the brackets evaluates as code, and is included in the output text. This expression, for instance:&lt;/P&gt;&lt;PRE&gt;var x = 'cool'&lt;BR /&gt;&lt;BR /&gt;return `Arcade Expressions are ${Upper(x)}`&lt;/PRE&gt;&lt;P&gt;Would spit out the&amp;nbsp; text "Arcade Expressions are COOL".&lt;/P&gt;&lt;P&gt;There's a second "$" because that's how we tell Arcade to get the current $feature to access its attributes.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 14:40:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505397#M60217</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-07-15T14:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505405#M60218</link>
      <description>&lt;P&gt;Ok so I try with my data :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var fs = FeatureSetByName($map, "Effectifs Société", ['$feature.ets_date_creation', '$feature.siren'], false)
var filt_fs = Filter(fs, `$feature.siren = '${$feature['$feature.siren']}'`)

var match_arr = []
for (var f in filt_fs) {
  Push(match_arr, f['$feature.ets_date_creation'])
}
return Concatenate(match_arr, '\n')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;but it return nothing again.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Jul 2024 14:48:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505405#M60218</guid>
      <dc:creator>JasonBOCQUET</dc:creator>
      <dc:date>2024-07-15T14:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505411#M60219</link>
      <description>&lt;P&gt;The expression in &lt;STRONG&gt;Filter&lt;/STRONG&gt; is a SQL statement. The stuff in the ${…} is different because it's evaluated by Arcade &lt;EM&gt;first&lt;/EM&gt;, but the rest of it has to be SQL, where there's no "$feature" object.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;`$siren = '${$feature['siren']}'`&lt;/LI-CODE&gt;&lt;P&gt;Also, you just need the field name in the square brackets. Otherwise, it's going to be looking for a field literally called "$feature.siren" instead of "siren".&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 14:54:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505411#M60219</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-07-15T14:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505414#M60220</link>
      <description>&lt;P&gt;Ok, i change all of the content in square brackets :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var fs = FeatureSetByName($map, "Effectifs Société", ['ets_date_creation', 'siren'], false)
var filt_fs = Filter(fs, `siren = '${$feature['siren']}'`)

var match_arr = []
for (var f in filt_fs) {
  Push(match_arr, f['ets_date_creation'])
}
return Concatenate(match_arr, '\n')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but it doesn't seems to change anything because my popup box still empty&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 15:03:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505414#M60220</guid>
      <dc:creator>JasonBOCQUET</dc:creator>
      <dc:date>2024-07-15T15:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505424#M60224</link>
      <description>&lt;P&gt;After the second line, try adding &lt;STRONG&gt;return Count(filt_fs)&lt;/STRONG&gt;, what does it show you?&lt;/P&gt;&lt;P&gt;Is the siren field text, or numeric?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 15:16:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505424#M60224</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-07-15T15:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505428#M60226</link>
      <description>&lt;P&gt;Ok I miss something, my field is "ets_siren" not "siren" i'm stupid ^^'&lt;/P&gt;&lt;P&gt;So when I execute it seems to work; but i can't reach to show the result on my popup. Why I can't ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 15:28:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505428#M60226</guid>
      <dc:creator>JasonBOCQUET</dc:creator>
      <dc:date>2024-07-15T15:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505431#M60227</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;&amp;nbsp;i find how can i see the results, but it seems to show me only one result. He do not reach to have the others line with the same ID's&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var fs = FeatureSetByName($map, "Effectifs Société", ['ets_date_creation', 'ets_siren'], false)
var filt_fs = Filter(fs, `ets_siren = '${$feature['ets_siren']}'`)

var match_arr = []
for (var f in filt_fs) {
  Push(match_arr, f['ets_date_creation'])
}
Concatenate(match_arr, '\n')
var HTML = ""
HTML += "&amp;lt;p style='text-align: center; line-height: 0.1;'&amp;gt;&amp;lt;strong&amp;gt;&amp;lt;span style='font-size: 30px; font-family: Calibri, sans-serif; color: rgb(1, 42, 132);'&amp;gt;"+match_arr+"&amp;lt;/span&amp;gt;&amp;lt;/strong&amp;gt;&amp;lt;/p&amp;gt;"


return { 
	type : 'text', 
	text : HTML
}&lt;/LI-CODE&gt;&lt;P&gt;sometime i got 2 times the name of the people concerned by the popup, but i never seen the other people appears.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 15:37:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505431#M60227</guid>
      <dc:creator>JasonBOCQUET</dc:creator>
      <dc:date>2024-07-15T15:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505434#M60228</link>
      <description>&lt;P&gt;Put "Concatenate(match_arr, '\n')" in the &lt;STRONG&gt;text&lt;/STRONG&gt; object at the end. You're putting the entire array into your HTML object, you don't really need to do that.&lt;/P&gt;&lt;PRE&gt;return {&lt;BR /&gt;  type: 'text',&lt;BR /&gt;  text: Concatenate(match_arr, '\n')&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;You could also try replacing \n with &amp;lt;br&amp;gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 15:39:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505434#M60228</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-07-15T15:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505437#M60229</link>
      <description>&lt;P&gt;Great, your solution work too.&lt;/P&gt;&lt;P&gt;Thanks for your help. Any idea of why I can"t see other people ? Actually he show me only the people which i click on, it's not very interesting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I miss something to make the other rows with the same ID in my popup ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 15:42:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505437#M60229</guid>
      <dc:creator>JasonBOCQUET</dc:creator>
      <dc:date>2024-07-15T15:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505439#M60231</link>
      <description>&lt;P&gt;I'm not sure I understand. The way it's written, any row with the same ID will be included in the filtered set. Are you testing this against an ID that you know has more than one feature with that value?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 15:46:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505439#M60231</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-07-15T15:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505449#M60234</link>
      <description>&lt;P&gt;90% of the dataset have min. 1 other people who have the same ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i click on point which have another point on the map with the same ID, i always have the name of the current point i've clicked who appears on the pop-up box.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not have the other point who have the same ID.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 16:22:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505449#M60234</guid>
      <dc:creator>JasonBOCQUET</dc:creator>
      <dc:date>2024-07-15T16:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505453#M60236</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;&amp;nbsp;Ok i find why it make a problem. My map is filtered to appears only one type of people (they are classified in 2 under-class).&lt;/P&gt;&lt;P&gt;That's why i do not see other one on the pop-up box,&amp;nbsp; it's because they don't appears on the map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it's not possible to get they're information (from the second under-class that i don't show on my map) on the pop-up box without show them on the map ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 16:30:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505453#M60236</guid>
      <dc:creator>JasonBOCQUET</dc:creator>
      <dc:date>2024-07-15T16:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505455#M60237</link>
      <description>&lt;P&gt;Change your expression to use &lt;STRONG&gt;FeatureSetByPortalItem&lt;/STRONG&gt; instead, that will go around the filter.&lt;/P&gt;&lt;PRE&gt;var fs = FeatureSetByPortalItem(&lt;BR /&gt;  Portal('your portal url'),&lt;BR /&gt;  'itemID of the layer',&lt;BR /&gt;  0, // or whatever the layer index is&lt;BR /&gt;  ['ets_siren', 'ets_date_creation'],&lt;BR /&gt;  false&lt;BR /&gt;)&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Jul 2024 16:33:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505455#M60237</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-07-15T16:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505463#M60239</link>
      <description>&lt;P&gt;Oh great, it works very well !&lt;/P&gt;&lt;P&gt;Big thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm gonna see now if I can integrate this kind of results in a charts to make it more beautiful in term of visualization.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 16:47:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505463#M60239</guid>
      <dc:creator>JasonBOCQUET</dc:creator>
      <dc:date>2024-07-15T16:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: [Arcade] How to retrieve all values which has a common ID in another collumn ?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505699#M60247</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;&amp;nbsp;i want to know if it possible to ameliorate the code.&lt;/P&gt;&lt;P&gt;Because we are using this line&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var match_arr = []&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result's rendering is like : ["Agence User","FTO User","Workplace User","IT User"]&lt;/P&gt;&lt;P&gt;it's not very aesthetic, i want to set more code around this to make the result more "friendly user"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In another case I use a code to retrieve a list of transaction provided by a relationship class, here is the code :&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var transactionsinv = FeatureSetByRelationshipName($feature,"SDE.TRANSACTIONS_INV")
var info3 = ''
for (var f in transactionsinv){
    info3 += `&amp;lt;div style='text-align: left;'&amp;gt;&amp;lt;span style='font-size: 16px; font-family: Calibri, sans-serif; color: rgb(1, 42, 132);'&amp;gt;
        &amp;lt;b&amp;gt;Date : &amp;lt;/b&amp;gt;${DefaultValue(f.TRA_TRIMESTRE,'')} ${DefaultValue(Text(f.TRA_DATE,'Y'), 'Pas de date de transaction recensée')}&amp;lt;br&amp;gt;
        &amp;lt;b&amp;gt;Acquéreur : &amp;lt;/b&amp;gt;${iif(isEmpty(f.TRA_ACQUEREUR), "Pas d'acquéreur recensé", f.TRA_ACQUEREUR)}&amp;lt;br&amp;gt;
        &amp;lt;b&amp;gt;Surface : &amp;lt;/b&amp;gt;${iif(isEmpty(f.TRA_SURFACE),'Pas de surface rencensée', Text(Round(f.TRA_SURFACE,0),'#,###')+" m²")}&amp;lt;br&amp;gt;
        &amp;lt;b&amp;gt;Montant : &amp;lt;/b&amp;gt; ${iif(IsEmpty(f.TRA_MONTANT),'Pas de montant recensé',f.TRA_MONTANT)+ " M€"}&amp;lt;br&amp;gt;
        &amp;lt;br&amp;gt;&amp;lt;/div&amp;gt;`
}

var newVariable3 = iif(isempty(info3),"Pas de transactions",info3);

HTML += "&amp;lt;p style='text-align: left;'&amp;gt;&amp;lt;span style='font-family: Calibri, sans-serif; font-size: 16px; color: rgb(1, 42, 132);'&amp;gt;"+newVariable3+"&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is possible to change the line var match_arr = [] to be emancipated from the table side rendering ?&lt;/P&gt;&lt;P&gt;I want to get closer to the rendering that the code above gives me&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 08:29:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-how-to-retrieve-all-values-which-has-a/m-p/1505699#M60247</guid>
      <dc:creator>JasonBOCQUET</dc:creator>
      <dc:date>2024-07-16T08:29:33Z</dc:date>
    </item>
  </channel>
</rss>

