<?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 attribute table programmatically from a widget? in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/refresh-attribute-table-programmatically-from-a/m-p/779498#M2445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Robert that's&amp;nbsp;&lt;SPAN&gt;exactly what I need and it works perfect!&lt;/SPAN&gt;&amp;nbsp;I really appreciate your quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another question related to attribute table widget. when I&amp;nbsp;try to close the attribute table just like clicking on that triangle tab, I did this:&lt;/P&gt;&lt;P&gt;WidgetManager.getInstance().closeWidget(attWidget);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It removes the attribute table completely from the application and leaves a blank next time when I try to open it. Do you happen to know why and what is the correct way to turn off attribute table&amp;nbsp;in&amp;nbsp;JS code&amp;nbsp;like clicking the triangle? Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2018 21:24:25 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2018-10-19T21:24:25Z</dc:date>
    <item>
      <title>Refresh attribute table programmatically from a widget?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/refresh-attribute-table-programmatically-from-a/m-p/779496#M2443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a custom widget that can add featurelayer created from featurecollection to the map and I use&amp;nbsp;&lt;EM&gt;publishData&lt;/EM&gt; to send this layer to attribute table widget. This way the attribute table will be opened automatically. The problem I had right now is when new features are added to this feature layer (also from that custom widget), the attribute table can not be updated unless I click on that refresh button. Is there any way I can avoid this one click and get it refreshed every time I add new features to that layer?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 20:10:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/refresh-attribute-table-programmatically-from-a/m-p/779496#M2443</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-10-19T20:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh attribute table programmatically from a widget?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/refresh-attribute-table-programmatically-from-a/m-p/779497#M2444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;This is how I do it in my eSearch widget:&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;attWidget&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;_activeTable&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;refresh&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 20:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/refresh-attribute-table-programmatically-from-a/m-p/779497#M2444</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-10-19T20:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh attribute table programmatically from a widget?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/refresh-attribute-table-programmatically-from-a/m-p/779498#M2445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Robert that's&amp;nbsp;&lt;SPAN&gt;exactly what I need and it works perfect!&lt;/SPAN&gt;&amp;nbsp;I really appreciate your quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have another question related to attribute table widget. when I&amp;nbsp;try to close the attribute table just like clicking on that triangle tab, I did this:&lt;/P&gt;&lt;P&gt;WidgetManager.getInstance().closeWidget(attWidget);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It removes the attribute table completely from the application and leaves a blank next time when I try to open it. Do you happen to know why and what is the correct way to turn off attribute table&amp;nbsp;in&amp;nbsp;JS code&amp;nbsp;like clicking the triangle? Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 21:24:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/refresh-attribute-table-programmatically-from-a/m-p/779498#M2445</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-10-19T21:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh attribute table programmatically from a widget?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/refresh-attribute-table-programmatically-from-a/m-p/779499#M2446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this.attWidget._closeTable();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Oct 2018 18:15:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/refresh-attribute-table-programmatically-from-a/m-p/779499#M2446</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-10-21T18:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh attribute table programmatically from a widget?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/refresh-attribute-table-programmatically-from-a/m-p/779500#M2447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Robert. It works! I guess I should read more esri source code of the widget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 15:41:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/refresh-attribute-table-programmatically-from-a/m-p/779500#M2447</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-10-22T15:41:39Z</dc:date>
    </item>
  </channel>
</rss>

