<?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: Refresh chart after starting the app with filter in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/refresh-chart-after-starting-the-app-with-filter/m-p/1315404#M7853</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/184441"&gt;@Wei_Ying&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;thank you for your reply. Yes, there was two problems you describe.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I solved this by installing the latest version of ExB Developer 1.12. Before that I had 1.10 version. The chart is using the same data source and data view as the filter widget is using. However another chart in this app not using the same data view - filter widget is using all data in the data source, the chart is using part of this data within data view. So i&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;t's interesting that it works with the new ExB version, and it didn't work with 1.10 version.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. Yes, this problem can be solved by "Auto refresh" setting. But &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I was kind of hoping that there would be something like a trigger in the background that would run an update of the data context of the entire application after editing features. So "Auto refresh" setting is the standard way to achieve this?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Kamil&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Aug 2023 06:29:51 GMT</pubDate>
    <dc:creator>KamilNovák</dc:creator>
    <dc:date>2023-08-04T06:29:51Z</dc:date>
    <item>
      <title>Refresh chart after starting the app with filter</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/refresh-chart-after-starting-the-app-with-filter/m-p/1308446#M7617</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have created a custom filter widget for ArcGIS Experience Builder (but same issue is with default filter widget). This filter widget filter the data &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;immediately after the application starts. There is also a chart in this app, which is attached to the filtered data.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Problem is that the chart is not sometimes refreshed with filtered data. It depends on the loading order of the widgets.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;The issue is shown here:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="filter.gif" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/75482i1D15FD5C8D2A8C8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="filter.gif" alt="filter.gif" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is there any way how to resolve this problem with default ExB tools or how can I wait for loading chart widget in my custom filter widget programmatically?&lt;/P&gt;&lt;P&gt;Same issue is with editing. This &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;chart is not refreshed if I edit the feature. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thanks.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Kamil&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jul 2023 10:43:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/refresh-chart-after-starting-the-app-with-filter/m-p/1308446#M7617</guid>
      <dc:creator>KamilNovák</dc:creator>
      <dc:date>2023-07-16T10:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh chart after starting the app with filter</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/refresh-chart-after-starting-the-app-with-filter/m-p/1315356#M7847</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/164268"&gt;@KamilNovák&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for your feedback! Based on my understanding, you have encountered two problems:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. After the filter in Filter widget applied, chart does not always get updated, but sometimes works well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. If feature is edited and updated, the chart is not getting updated immediately.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Unfortunately I cannot repro your problems on my with my data.&amp;nbsp;&lt;BR /&gt;For the first problem, please make sure the chart is using the same data source and data view the filter widget is using. For the second problem, make sure you enable the "Auto refresh" for the data source.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WeiYing1_0-1691104248722.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77269i2071C4B50BF6C652/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WeiYing1_0-1691104248722.png" alt="WeiYing1_0-1691104248722.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If you are still seeing the problem. Would you mind share your repro app for us to take a look.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Wei&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 23:10:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/refresh-chart-after-starting-the-app-with-filter/m-p/1315356#M7847</guid>
      <dc:creator>Wei_Ying</dc:creator>
      <dc:date>2023-08-03T23:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh chart after starting the app with filter</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/refresh-chart-after-starting-the-app-with-filter/m-p/1315404#M7853</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/184441"&gt;@Wei_Ying&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;thank you for your reply. Yes, there was two problems you describe.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I solved this by installing the latest version of ExB Developer 1.12. Before that I had 1.10 version. The chart is using the same data source and data view as the filter widget is using. However another chart in this app not using the same data view - filter widget is using all data in the data source, the chart is using part of this data within data view. So i&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;t's interesting that it works with the new ExB version, and it didn't work with 1.10 version.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2. Yes, this problem can be solved by "Auto refresh" setting. But &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I was kind of hoping that there would be something like a trigger in the background that would run an update of the data context of the entire application after editing features. So "Auto refresh" setting is the standard way to achieve this?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Kamil&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 06:29:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/refresh-chart-after-starting-the-app-with-filter/m-p/1315404#M7853</guid>
      <dc:creator>KamilNovák</dc:creator>
      <dc:date>2023-08-04T06:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh chart after starting the app with filter</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/refresh-chart-after-starting-the-app-with-filter/m-p/1315690#M7874</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/164268"&gt;@KamilNovák&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Glad to hear that the problems are solved.&amp;nbsp;&lt;BR /&gt;1. If the problem was previous happening with 1.10, and works with 1.12, it may be a bug that we fixed.&amp;nbsp;&lt;BR /&gt;2. Yes, we recommend to use "Auto refresh" setting to trigger update at framework level. And you can control the refresh time.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Wei&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 19:23:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/refresh-chart-after-starting-the-app-with-filter/m-p/1315690#M7874</guid>
      <dc:creator>Wei_Ying</dc:creator>
      <dc:date>2023-08-04T19:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh chart after starting the app with filter</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/refresh-chart-after-starting-the-app-with-filter/m-p/1315906#M7886</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/184441"&gt;@Wei_Ying&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;thank you for explanation.&lt;/P&gt;&lt;P&gt;Kamil&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 05:53:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/refresh-chart-after-starting-the-app-with-filter/m-p/1315906#M7886</guid>
      <dc:creator>KamilNovák</dc:creator>
      <dc:date>2023-08-07T05:53:59Z</dc:date>
    </item>
  </channel>
</rss>

