<?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: getEffectivePopupTemplate not working? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geteffectivepopuptemplate-not-working/m-p/1176423#M77434</link>
    <description>&lt;P&gt;Thank you. I found the issue. I was calling an initialization function with view popup.close().&lt;/P&gt;</description>
    <pubDate>Mon, 23 May 2022 14:53:13 GMT</pubDate>
    <dc:creator>LefterisKoumis</dc:creator>
    <dc:date>2022-05-23T14:53:13Z</dc:date>
    <item>
      <title>getEffectivePopupTemplate not working?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geteffectivepopuptemplate-not-working/m-p/1175791#M77410</link>
      <description>&lt;P&gt;The graphicTemplate retuns null even though there is a graphic on click. Does the getEffectivePopupTemplate works?&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;view.on("click", function(event) {
        view.hitTest(event).then(function(event) {
         var graphic = event.results[0].graphic;
         console.log(graphic)
         if (graphic){
         const graphicTemplate = graphic.getEffectivePopupTemplate()
         console.log(graphicTemplate)
         }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 May 2022 23:29:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geteffectivepopuptemplate-not-working/m-p/1175791#M77410</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2022-05-19T23:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: getEffectivePopupTemplate not working?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geteffectivepopuptemplate-not-working/m-p/1175828#M77412</link>
      <description>&lt;P&gt;Does the graphic or source layer have a popupTemplate defined? If not, pass true to the method to try and have one created for you.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html#getEffectivePopupTemplate" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html#getEffectivePopupTemplate&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;Whether support for default popup templates is enabled. When true, a default popup template may be created automatically if neither the graphic nor its layer have a popup template defined&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2022 04:22:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geteffectivepopuptemplate-not-working/m-p/1175828#M77412</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-05-20T04:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: getEffectivePopupTemplate not working?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geteffectivepopuptemplate-not-working/m-p/1176423#M77434</link>
      <description>&lt;P&gt;Thank you. I found the issue. I was calling an initialization function with view popup.close().&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 14:53:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geteffectivepopuptemplate-not-working/m-p/1176423#M77434</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2022-05-23T14:53:13Z</dc:date>
    </item>
  </channel>
</rss>

