<?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 Can't open widget programatically in Launchpad Theme in &amp;quot;Configure App&amp;quot; after changing scene in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/can-t-open-widget-programatically-in-launchpad/m-p/836518#M8813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In WEB AppBuilder (Developer Edition) 2.17, &lt;STRONG&gt;Launchpad Theme&lt;/STRONG&gt;, 3D scene,&lt;/P&gt;&lt;P&gt;I open a custom-widget from within LayerList widget by calling the function BaseWidget.openWidgetById and after the promise returns,&amp;nbsp;LayerList widget calls some function inside that custom-widget..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works well, but when I'm inside WAB and I open the app by clicking "Configure App", and then I change Scene, the custom-widget is &lt;STRONG&gt;not&lt;/STRONG&gt; opened, i.e. the promise does &lt;STRONG&gt;not&lt;/STRONG&gt; return.&lt;/P&gt;&lt;P&gt;Indeed, if afterwards I click on the icon of that custom-widget, the promise "awakes" and returns and the&amp;nbsp;&lt;SPAN&gt;function inside that custom-widget is called from within LayerList widget.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect that this phenomenon stems from the fact that in Launchpad Theme, after changing Scene, &lt;SPAN style="color: #ff0000;"&gt;widgets-panel classes names are &lt;STRONG&gt;changed&lt;/STRONG&gt;&lt;/SPAN&gt;, and since only the scene had changed and I don't see a reason to change the class names, may be it's a &lt;STRONG&gt;bug&lt;/STRONG&gt; in Launchpad Theme?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question -&amp;nbsp;How to achieve that &lt;SPAN&gt;in Launchpad Theme,&amp;nbsp;&lt;/SPAN&gt;also in "configure app" mode after changing Scene, the custom-widget will be opened from within LayerList widget? (maybe if I can set that&amp;nbsp;&lt;SPAN&gt;widgets-panel classes names will &lt;STRONG&gt;not&lt;/STRONG&gt; be&amp;nbsp;&lt;/SPAN&gt;changed when changing scene, it'll also solve the problem)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Oct 2020 11:25:26 GMT</pubDate>
    <dc:creator>MichaelLev</dc:creator>
    <dc:date>2020-10-02T11:25:26Z</dc:date>
    <item>
      <title>Can't open widget programatically in Launchpad Theme in "Configure App" after changing scene</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/can-t-open-widget-programatically-in-launchpad/m-p/836518#M8813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In WEB AppBuilder (Developer Edition) 2.17, &lt;STRONG&gt;Launchpad Theme&lt;/STRONG&gt;, 3D scene,&lt;/P&gt;&lt;P&gt;I open a custom-widget from within LayerList widget by calling the function BaseWidget.openWidgetById and after the promise returns,&amp;nbsp;LayerList widget calls some function inside that custom-widget..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works well, but when I'm inside WAB and I open the app by clicking "Configure App", and then I change Scene, the custom-widget is &lt;STRONG&gt;not&lt;/STRONG&gt; opened, i.e. the promise does &lt;STRONG&gt;not&lt;/STRONG&gt; return.&lt;/P&gt;&lt;P&gt;Indeed, if afterwards I click on the icon of that custom-widget, the promise "awakes" and returns and the&amp;nbsp;&lt;SPAN&gt;function inside that custom-widget is called from within LayerList widget.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect that this phenomenon stems from the fact that in Launchpad Theme, after changing Scene, &lt;SPAN style="color: #ff0000;"&gt;widgets-panel classes names are &lt;STRONG&gt;changed&lt;/STRONG&gt;&lt;/SPAN&gt;, and since only the scene had changed and I don't see a reason to change the class names, may be it's a &lt;STRONG&gt;bug&lt;/STRONG&gt; in Launchpad Theme?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question -&amp;nbsp;How to achieve that &lt;SPAN&gt;in Launchpad Theme,&amp;nbsp;&lt;/SPAN&gt;also in "configure app" mode after changing Scene, the custom-widget will be opened from within LayerList widget? (maybe if I can set that&amp;nbsp;&lt;SPAN&gt;widgets-panel classes names will &lt;STRONG&gt;not&lt;/STRONG&gt; be&amp;nbsp;&lt;/SPAN&gt;changed when changing scene, it'll also solve the problem)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2020 11:25:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/can-t-open-widget-programatically-in-launchpad/m-p/836518#M8813</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2020-10-02T11:25:26Z</dc:date>
    </item>
  </channel>
</rss>

