<?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: Open PopupPanel Widget from Custom Widget in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-popuppanel-widget-from-custom-widget/m-p/1074298#M14545</link>
    <description>&lt;P&gt;Hah hah. Thanks Robert. That's what I get for grabbing code from another application I developed years ago. I will change it.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jun 2021 17:30:48 GMT</pubDate>
    <dc:creator>KarenRobine1</dc:creator>
    <dc:date>2021-06-30T17:30:48Z</dc:date>
    <item>
      <title>Open PopupPanel Widget from Custom Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-popuppanel-widget-from-custom-widget/m-p/1074044#M14539</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In my custom widget i have a datagrid and on row click i am showing the location and infowindow on map. Whereas When popupPanel is set to openAtStart: true then the infowindow is not displayed. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This issue is happening with Query widget also when we search and click on location the infowindow is not displayed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What code changes needs to be done to display the Infowindow content in PopupPanel from all custom widget and query widget.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Appreciate your help in Advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kafil&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 08:24:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-popuppanel-widget-from-custom-widget/m-p/1074044#M14539</guid>
      <dc:creator>KafilBaig</dc:creator>
      <dc:date>2021-06-30T08:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Open PopupPanel Widget from Custom Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-popuppanel-widget-from-custom-widget/m-p/1074092#M14540</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/161710"&gt;@KafilBaig&lt;/a&gt;&amp;nbsp; Not showing the standard popup is by design. Why would you have the same info displayed in the maps popup and the popup widget at the same time? Anyway the widget.js is pretty clearly marked where the maps popup is hidden. It even has the comment .&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;        //hide the standard esri popup instead
        html.addClass(query('.esriPopup')[0], 'myPopupHidden');&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 30 Jun 2021 12:13:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-popuppanel-widget-from-custom-widget/m-p/1074092#M14540</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-06-30T12:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Open PopupPanel Widget from Custom Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-popuppanel-widget-from-custom-widget/m-p/1074100#M14541</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1104"&gt;@RobertScheitlin__GISP&lt;/a&gt;&amp;nbsp;I don’t want to show infowindow and popup panel widget at the same time . My query is instead of default info window how should I call the custom popup panel widget from my custom widget to display the content .&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 12:26:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-popuppanel-widget-from-custom-widget/m-p/1074100#M14541</guid>
      <dc:creator>KafilBaig</dc:creator>
      <dc:date>2021-06-30T12:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Open PopupPanel Widget from Custom Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-popuppanel-widget-from-custom-widget/m-p/1074132#M14542</link>
      <description>&lt;P&gt;Check out the infoWindow events. I just wrote this code for something I was doing.&lt;/P&gt;&lt;P&gt;uses&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;'dojo/_base/connect'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;_onSetFeaturesEvt&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;connect&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;connect&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;_map&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;infoWindow&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"onSetFeatures"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;lang&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;hitch&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;this&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;processIdentify&lt;/SPAN&gt;&lt;SPAN&gt;));&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;It might not be this exact event but probably something to allow the InfoWindow to open.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I also see a setFeatures() for InfoWindow:&amp;nbsp; ie.&amp;nbsp;his._map.infoWindow.setFeatures(this._singles);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I also see that you can setup a graphic Layer onClick event&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hopefully this will get ya heading in the right direction.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Jun 2021 13:13:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-popuppanel-widget-from-custom-widget/m-p/1074132#M14542</guid>
      <dc:creator>KarenRobine1</dc:creator>
      <dc:date>2021-06-30T13:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Open PopupPanel Widget from Custom Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-popuppanel-widget-from-custom-widget/m-p/1074238#M14543</link>
      <description>&lt;P&gt;OK, so what you want to do then is to add a PopupTemplate to your graphic then. Some code like this and your custom code/widget will use the Popup Panel widget instead:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;//define a popup template
var popupTemplate = new PopupTemplate({
  title: "{title}",
  description: "{description}"
});

var graphic = new Graphic(point,symbol,null,popupTemplate);

this.map.infoWindow.setFeatures([graphic]);this.map.infoWindow.show(point)‍‍;&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 30 Jun 2021 16:14:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-popuppanel-widget-from-custom-widget/m-p/1074238#M14543</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-06-30T16:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Open PopupPanel Widget from Custom Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-popuppanel-widget-from-custom-widget/m-p/1074240#M14544</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/303886"&gt;@KarenRobine1&lt;/a&gt;&amp;nbsp;You should be careful about using code that has been depreciated. 'dojo/_base/connect' is one of those that has been depreciated for many years. If you are still using it then you really need to update your code to use dojo/on.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 16:17:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-popuppanel-widget-from-custom-widget/m-p/1074240#M14544</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-06-30T16:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Open PopupPanel Widget from Custom Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-popuppanel-widget-from-custom-widget/m-p/1074298#M14545</link>
      <description>&lt;P&gt;Hah hah. Thanks Robert. That's what I get for grabbing code from another application I developed years ago. I will change it.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 17:30:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/open-popuppanel-widget-from-custom-widget/m-p/1074298#M14545</guid>
      <dc:creator>KarenRobine1</dc:creator>
      <dc:date>2021-06-30T17:30:48Z</dc:date>
    </item>
  </channel>
</rss>

