<?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 Web AppBuilder in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder/m-p/825181#M7727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is it possible to call a function when closing a widget in Web AppBuilder?&amp;nbsp; For example, when the user closes a custom widget, remove the tables from the widget so the next time the user opens the widget, the tables are cleared and removed.&amp;nbsp; Another example, when the user clicks "Ok" in the Splash widget, programmatically open the Layer List widget to display the layers of the web map.&amp;nbsp; The documentation online does not seem to work, nor does the onDestroy method within each widget.&amp;nbsp; Please let me know the appropriate way to complete this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Feb 2016 19:33:35 GMT</pubDate>
    <dc:creator>CenterlineMapping</dc:creator>
    <dc:date>2016-02-04T19:33:35Z</dc:date>
    <item>
      <title>Web AppBuilder</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder/m-p/825181#M7727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is it possible to call a function when closing a widget in Web AppBuilder?&amp;nbsp; For example, when the user closes a custom widget, remove the tables from the widget so the next time the user opens the widget, the tables are cleared and removed.&amp;nbsp; Another example, when the user clicks "Ok" in the Splash widget, programmatically open the Layer List widget to display the layers of the web map.&amp;nbsp; The documentation online does not seem to work, nor does the onDestroy method within each widget.&amp;nbsp; Please let me know the appropriate way to complete this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 19:33:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder/m-p/825181#M7727</guid>
      <dc:creator>CenterlineMapping</dc:creator>
      <dc:date>2016-02-04T19:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder/m-p/825182#M7728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Centerline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Each widget has an onClose event that you can use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 19:54:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder/m-p/825182#M7728</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-04T19:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder/m-p/825183#M7729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick solution. &lt;/P&gt;&lt;P&gt;Do you know if there is a method for programmatically opening a widget similar to the closePanel method:&lt;/P&gt;&lt;P&gt;&lt;CODE class="hljs javascript"&gt;PanelManager.getInstance().closePanel(widgetid + ‘_panel’);&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will be used to programmatically open the Layerlist widget once the user clicks "Ok" in the Splash widget. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 20:33:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder/m-p/825183#M7729</guid>
      <dc:creator>CenterlineMapping</dc:creator>
      <dc:date>2016-02-04T20:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder/m-p/825184#M7730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Centerline,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Sure there are several post about it it's just openPanel instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 21:00:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder/m-p/825184#M7730</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-04T21:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Web AppBuilder</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder/m-p/825185#M7731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;var pm = PanelManager.getInstance();&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pm.showPanel(this.appConfig.widgetPool.widgets[0]);&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution found!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 21:03:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/web-appbuilder/m-p/825185#M7731</guid>
      <dc:creator>CenterlineMapping</dc:creator>
      <dc:date>2016-02-04T21:03:16Z</dc:date>
    </item>
  </channel>
</rss>

