<?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: Customize Data or List Widget with Arcade in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/customize-data-or-list-widget-with-arcade/m-p/1400915#M11773</link>
    <description>&lt;P&gt;I'm not sure what your intent is with this table or your Arcade script, but here is some information you may find useful.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The Table Widget in Experience Builder supports searching and filtering.&lt;/LI&gt;&lt;LI&gt;Arcade has &lt;A href="https://developers.arcgis.com/arcade/guide/logic/#if" target="_self"&gt;if statements&lt;/A&gt; and the &lt;A href="https://developers.arcgis.com/arcade/guide/logic/#iif" target="_self"&gt;IIF function&lt;/A&gt;. You are mixing the syntax between the two of them causing your IIf function to break.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Calling for( i in $feature) will loop through all of the fields in a feature with a feature being a single row in your table. You should probably be using $layer or $datastore, but I'm not sure how that would be very useful in this context either.&lt;/LI&gt;&lt;LI&gt;Because&amp;nbsp;&lt;SPAN&gt;var test = $feature.Land_Use is outside the loop it's value will not change throughout the loop.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Tue, 26 Mar 2024 14:43:01 GMT</pubDate>
    <dc:creator>JeffreyThompson2</dc:creator>
    <dc:date>2024-03-26T14:43:01Z</dc:date>
    <item>
      <title>Customize Data or List Widget with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/customize-data-or-list-widget-with-arcade/m-p/1400378#M11747</link>
      <description>&lt;P&gt;I have a table that I'd like to:&lt;/P&gt;&lt;P&gt;1. Color records by an attribute;&lt;/P&gt;&lt;P&gt;2. Concatenate one field based on value in another field.&lt;/P&gt;&lt;P&gt;I've been trying to do this with arcade, but I can't seem to get it to read through each table record. My latest effort is below:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;var test = $feature.Land_Use&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;var desc = []&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;for (var i in $feature){&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;iif ($feature.Determination == 'Compatible'){&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;var group = test[i]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Push(desc, group)}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;If ($feature.Determination == 'Incomp'){&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;var group = test[i]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Push(desc, group)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;}}&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;return Concatenate(desc, ', ')&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Is what I'm trying even possible with arcade or does it require a custom widget?? The reason for wanting to use list or table is so the user can search. Table is attached. Any help or suggestions is much appreciated!! TIA&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 15:19:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/customize-data-or-list-widget-with-arcade/m-p/1400378#M11747</guid>
      <dc:creator>KateDoughty1</dc:creator>
      <dc:date>2024-03-25T15:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Customize Data or List Widget with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/customize-data-or-list-widget-with-arcade/m-p/1400466#M11750</link>
      <description>&lt;P&gt;At a quick glance, I see you have an 'iif' statement which is technically an 'if-else' statement. So I believe it needs an argument to evaluate to if statement is true, and if the statement is false:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/logical_functions/#iif" target="_blank" rel="noopener"&gt;IIf(condition, trueValue, falseValue) &lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 18:06:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/customize-data-or-list-widget-with-arcade/m-p/1400466#M11750</guid>
      <dc:creator>MFazio</dc:creator>
      <dc:date>2024-03-25T18:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: Customize Data or List Widget with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/customize-data-or-list-widget-with-arcade/m-p/1400471#M11751</link>
      <description>&lt;P&gt;That is correct but it still doesn't fix the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 18:10:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/customize-data-or-list-widget-with-arcade/m-p/1400471#M11751</guid>
      <dc:creator>KateDoughty1</dc:creator>
      <dc:date>2024-03-25T18:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Customize Data or List Widget with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/customize-data-or-list-widget-with-arcade/m-p/1400829#M11764</link>
      <description>&lt;P&gt;Experience Builder does not currently support Arcade.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 12:16:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/customize-data-or-list-widget-with-arcade/m-p/1400829#M11764</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2024-03-26T12:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Customize Data or List Widget with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/customize-data-or-list-widget-with-arcade/m-p/1400883#M11769</link>
      <description>&lt;P&gt;Arcade is supported in pop-ups for Experience Builder which is where I'm trying to customize the output.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 13:45:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/customize-data-or-list-widget-with-arcade/m-p/1400883#M11769</guid>
      <dc:creator>KateDoughty1</dc:creator>
      <dc:date>2024-03-26T13:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Customize Data or List Widget with Arcade</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/customize-data-or-list-widget-with-arcade/m-p/1400915#M11773</link>
      <description>&lt;P&gt;I'm not sure what your intent is with this table or your Arcade script, but here is some information you may find useful.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The Table Widget in Experience Builder supports searching and filtering.&lt;/LI&gt;&lt;LI&gt;Arcade has &lt;A href="https://developers.arcgis.com/arcade/guide/logic/#if" target="_self"&gt;if statements&lt;/A&gt; and the &lt;A href="https://developers.arcgis.com/arcade/guide/logic/#iif" target="_self"&gt;IIF function&lt;/A&gt;. You are mixing the syntax between the two of them causing your IIf function to break.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Calling for( i in $feature) will loop through all of the fields in a feature with a feature being a single row in your table. You should probably be using $layer or $datastore, but I'm not sure how that would be very useful in this context either.&lt;/LI&gt;&lt;LI&gt;Because&amp;nbsp;&lt;SPAN&gt;var test = $feature.Land_Use is outside the loop it's value will not change throughout the loop.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 26 Mar 2024 14:43:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/customize-data-or-list-widget-with-arcade/m-p/1400915#M11773</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2024-03-26T14:43:01Z</dc:date>
    </item>
  </channel>
</rss>

