<?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: List widget, with group by and advanced format in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1400282#M9311</link>
    <description>&lt;P&gt;Glad that worked for you. I deleted it shortly after posting because I didn't get to double check my answer before leaving work, apologies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the action item, can you go into more detail? ..Normally, if you want to filter the layer on your map that is populating your list, it would be: &lt;EM&gt;Configure-&amp;gt;Actions -&amp;gt; Filter-&amp;gt; toggle the data source&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Keenan&lt;/P&gt;</description>
    <pubDate>Mon, 25 Mar 2024 11:50:12 GMT</pubDate>
    <dc:creator>KRankin</dc:creator>
    <dc:date>2024-03-25T11:50:12Z</dc:date>
    <item>
      <title>List widget, with group by and advanced format</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1398875#M9296</link>
      <description>&lt;P&gt;Dear all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the list widget in Dashboards. The data I am using is from an expression. This expression uses FeatureSetByPortal Item and return a groupby.&lt;/P&gt;&lt;P&gt;but the result listed is the code and not the description of the domain.&lt;/P&gt;&lt;P&gt;Therefore I used advanced format with the following code (not all the vehicles are listed):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;var CD = $datapoint.XFM
When (CD ==1, "Car",
CD==10,"Vessel",
CD==9,"Aircraft",
Null);

Return {
  text color:''
  attributes: {
    attribute1: CD
  }
}&lt;/LI-CODE&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;P&gt;And in the "Line Item template" I have:&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;{expression/attribute1}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It keeps showing the domain value instead of the description. Besides that in the actions I cannot make it highlight in the map the selected feature...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;can someone help?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;P&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 08:40:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1398875#M9296</guid>
      <dc:creator>PSGeo</dc:creator>
      <dc:date>2024-03-21T08:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: List widget, with group by and advanced format</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1399571#M9300</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had an answer in my email... but I cannot see it here...&lt;/P&gt;&lt;P&gt;I have the first part of the question answered. Missing the action item. does someone knows this?&lt;/P&gt;&lt;P&gt;Many thanks to&amp;nbsp;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/749751" target="_self"&gt;&lt;SPAN&gt;KRankin (New Contributor II)&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;for the answer for the first question:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"Im not sure about the data action to make it filter/highlight on the map. As for the arcade, it looks like you're returning the variable you assigned with the domain "CD". Add a variable and assign the description from the when statement: "var desc = When()..." var CD = $datapoint.XFM var desc = When (CD ==1, "Car", CD==10,"Vessel", CD==9,"Aircraft", Null); Return { text color:'' attributes: { attribute1: desc } } &amp;nbsp; -Keenan "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;P&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 10:32:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1399571#M9300</guid>
      <dc:creator>PSGeo</dc:creator>
      <dc:date>2024-03-22T10:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: List widget, with group by and advanced format</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1400282#M9311</link>
      <description>&lt;P&gt;Glad that worked for you. I deleted it shortly after posting because I didn't get to double check my answer before leaving work, apologies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the action item, can you go into more detail? ..Normally, if you want to filter the layer on your map that is populating your list, it would be: &lt;EM&gt;Configure-&amp;gt;Actions -&amp;gt; Filter-&amp;gt; toggle the data source&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Keenan&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 11:50:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1400282#M9311</guid>
      <dc:creator>KRankin</dc:creator>
      <dc:date>2024-03-25T11:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: List widget, with group by and advanced format</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1400362#M9313</link>
      <description>Hi,&lt;BR /&gt;I cannot check it... I just entered in easter holidays.&lt;BR /&gt;When i return i will have a look back to it and come back to you with an answer.&lt;BR /&gt;Cheers&lt;BR /&gt;Pedro&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 Mar 2024 14:53:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1400362#M9313</guid>
      <dc:creator>PSGeo</dc:creator>
      <dc:date>2024-03-25T14:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: List widget, with group by and advanced format</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1485367#M9742</link>
      <description>&lt;P&gt;Hi Keenan,&lt;/P&gt;&lt;P&gt;back to the dashboard. In particular to the actions.&lt;/P&gt;&lt;P&gt;It only allows to filter, and I want to click on the element on my list and it to flash on the map.&lt;/P&gt;&lt;P&gt;there is no option for that. I wonder if is due to all that coding for creating the list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 14:17:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1485367#M9742</guid>
      <dc:creator>PSGeo</dc:creator>
      <dc:date>2024-06-05T14:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: List widget, with group by and advanced format</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1485430#M9747</link>
      <description>&lt;P&gt;That is strange. inserting advanced formatting should not limit the actions for a widget. Can you share a screen shot of what you see, when you're in the actions section of the list.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 15:29:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1485430#M9747</guid>
      <dc:creator>KRankin</dc:creator>
      <dc:date>2024-06-05T15:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: List widget, with group by and advanced format</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1485451#M9749</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I made some testing and I think that is related with a creation of the expression: Data/edit data expression.&lt;/P&gt;&lt;P&gt;when I have the an expression defining the list, it rules out all the other actions except for the filter.&lt;/P&gt;&lt;P&gt;When there is none, all the actions are available.&lt;/P&gt;&lt;P&gt;Could it be a bug? I am using the ArcGIS Enterprise 10.9.1&lt;/P&gt;&lt;P&gt;cheers&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;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot_Pedro.jpg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106254iCEBE7D30DB64B8AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="screenshot_Pedro.jpg" alt="screenshot_Pedro.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 16:05:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1485451#M9749</guid>
      <dc:creator>PSGeo</dc:creator>
      <dc:date>2024-06-05T16:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: List widget, with group by and advanced format</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1485483#M9750</link>
      <description>&lt;P&gt;Ah yes, if you're using data expressions then that would limit your actions ability to filter only. Not a bug, it happens on my end too (i'm not using enterprise).&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 16:27:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1485483#M9750</guid>
      <dc:creator>KRankin</dc:creator>
      <dc:date>2024-06-05T16:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: List widget, with group by and advanced format</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1485994#M9757</link>
      <description>&lt;P&gt;well. that is unfortunate &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder if there is another way to show the grouped values on any other widget and make them highlight in the map...&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2024 08:26:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/list-widget-with-group-by-and-advanced-format/m-p/1485994#M9757</guid>
      <dc:creator>PSGeo</dc:creator>
      <dc:date>2024-06-06T08:26:18Z</dc:date>
    </item>
  </channel>
</rss>

