<?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: Communication between 2 Widgets in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/communication-between-2-widgets/m-p/863331#M12042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kafil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does your&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;openWidgetById function look like?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Once a widget opened the WidgetManager's&amp;nbsp;&lt;/SPAN&gt;openWidget function will try to make the widget visible if the widgets state is closed or if the widget has never been opened then it will startup the widget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Nov 2019 14:29:17 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2019-11-25T14:29:17Z</dc:date>
    <item>
      <title>Communication between 2 Widgets</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/communication-between-2-widgets/m-p/863330#M12041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created 2 custom widgets for retrieving data from oracle database.&lt;/P&gt;&lt;P&gt;First widget is retrieving data and binding in dgrid. Here i have a column on click of that i am opening second widget.&lt;/P&gt;&lt;P&gt;It is working perfectly as needed for first time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing problem is when i close the second widget and then click a column in first widget the second widget doesn't open.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please guide me what needs to be done to resolve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my code which i calling to open a widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;toOpenWidget: function() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;var widgets = this.appConfig.getConfigElementsByName('WidgetA');&lt;/P&gt;&lt;P&gt;var widgetId = widgets[0].id;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this.openWidgetById(widgetId).then(lang.hitch(this, function(widget){&lt;/P&gt;&lt;P&gt;}));&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2019 09:05:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/communication-between-2-widgets/m-p/863330#M12041</guid>
      <dc:creator>KafilBaig</dc:creator>
      <dc:date>2019-11-14T09:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Communication between 2 Widgets</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/communication-between-2-widgets/m-p/863331#M12042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kafil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does your&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;openWidgetById function look like?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Once a widget opened the WidgetManager's&amp;nbsp;&lt;/SPAN&gt;openWidget function will try to make the widget visible if the widgets state is closed or if the widget has never been opened then it will startup the widget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 14:29:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/communication-between-2-widgets/m-p/863331#M12042</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-11-25T14:29:17Z</dc:date>
    </item>
  </channel>
</rss>

