<?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 Launch a widget from a button but not have a panel/UI in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/launch-a-widget-from-a-button-but-not-have-a-panel/m-p/863172#M12024</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Is there a&amp;nbsp; way to launch a widget from a button but not have a panel/UI?&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;- I have a custom widget (widget A) and within&amp;nbsp;that, from a button click user need to open another&amp;nbsp;widget&amp;nbsp; (widget B) , but widget B should not added to the UI/panel.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Dec 2018 18:21:31 GMT</pubDate>
    <dc:creator>sreeharikottoormadam</dc:creator>
    <dc:date>2018-12-13T18:21:31Z</dc:date>
    <item>
      <title>Launch a widget from a button but not have a panel/UI</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/launch-a-widget-from-a-button-but-not-have-a-panel/m-p/863172#M12024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Is there a&amp;nbsp; way to launch a widget from a button but not have a panel/UI?&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;- I have a custom widget (widget A) and within&amp;nbsp;that, from a button click user need to open another&amp;nbsp;widget&amp;nbsp; (widget B) , but widget B should not added to the UI/panel.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 18:21:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/launch-a-widget-from-a-button-but-not-have-a-panel/m-p/863172#M12024</guid>
      <dc:creator>sreeharikottoormadam</dc:creator>
      <dc:date>2018-12-13T18:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Launch a widget from a button but not have a panel/UI</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/launch-a-widget-from-a-button-but-not-have-a-panel/m-p/863173#M12025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sreehari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you have a widget that is developed to not have a panel (ie. the manifest.json has&amp;nbsp;"inPanel": false,) then you can call if from a button using the code in this link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/219253-open-widget-programatically-foldable-theme"&gt;https://community.esri.com/thread/219253-open-widget-programatically-foldable-theme&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2018 19:16:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/launch-a-widget-from-a-button-but-not-have-a-panel/m-p/863173#M12025</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-12-13T19:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Launch a widget from a button but not have a panel/UI</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/launch-a-widget-from-a-button-but-not-have-a-panel/m-p/863174#M12026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help. This worked for me (Launchpad Theme).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var widgetsCfg = this.appConfig.widgetPool.widgets;&lt;BR /&gt;var widgetId;&lt;BR /&gt;for(var i in widgetsCfg){&lt;BR /&gt;if(widgetsCfg&lt;I&gt;.name == "MyWidget_Name"){&lt;BR /&gt;widgetId = widgetsCfg&lt;I&gt;.id;&lt;BR /&gt;break;&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;var widgetCtlr = WidgetManager.getInstance().getWidgetsByName("AnchorBarController")[0];&lt;BR /&gt;widgetCtlr.setOpenedIds([widgetId]);&lt;/I&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2019 19:27:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/launch-a-widget-from-a-button-but-not-have-a-panel/m-p/863174#M12026</guid>
      <dc:creator>sreeharikottoormadam</dc:creator>
      <dc:date>2019-01-02T19:27:57Z</dc:date>
    </item>
  </channel>
</rss>

