<?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: Disabling graphic layer popup in Javascript API 4.0 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disabling-graphic-layer-popup-in-javascript-api-4/m-p/400209#M36860</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Luke. This one was driving me nuts!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2016 16:16:46 GMT</pubDate>
    <dc:creator>SamHall</dc:creator>
    <dc:date>2016-07-20T16:16:46Z</dc:date>
    <item>
      <title>Disabling graphic layer popup in Javascript API 4.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disabling-graphic-layer-popup-in-javascript-api-4/m-p/400207#M36858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I'm having an issue with popups in the new 4.0 API. Specifically, popups are showing up on a graphic layer that consists of multiple polylines created dynamically from the results of a query on a point feature layer. I don't define a popupTemplate on either the graphic or the graphic layer itself, yet a popup is still showing up on click. What am I doing wrong? Is there a way to force disable popups on a graphic layer in 4.0?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 23:36:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disabling-graphic-layer-popup-in-javascript-api-4/m-p/400207#M36858</guid>
      <dc:creator>SamHall</dc:creator>
      <dc:date>2016-06-28T23:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling graphic layer popup in Javascript API 4.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disabling-graphic-layer-popup-in-javascript-api-4/m-p/400208#M36859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Finally figured it out after setting a thousand different popup disabled booleans in different places!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This line did it for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;app.view.popupManager.enabled = false;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to use the popupManager to disable it apparently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luke Pint&lt;/P&gt;&lt;P&gt;Senior Software Engineer&lt;/P&gt;&lt;P&gt;DataCapable&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.datacapable.com/" title="http://www.datacapable.com/"&gt;http://www.datacapable.com/&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 14:29:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disabling-graphic-layer-popup-in-javascript-api-4/m-p/400208#M36859</guid>
      <dc:creator>LukePint</dc:creator>
      <dc:date>2016-07-20T14:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling graphic layer popup in Javascript API 4.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disabling-graphic-layer-popup-in-javascript-api-4/m-p/400209#M36860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much Luke. This one was driving me nuts!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2016 16:16:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disabling-graphic-layer-popup-in-javascript-api-4/m-p/400209#M36860</guid>
      <dc:creator>SamHall</dc:creator>
      <dc:date>2016-07-20T16:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling graphic layer popup in Javascript API 4.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disabling-graphic-layer-popup-in-javascript-api-4/m-p/400210#M36861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome, Sam. It was driving me crazy too!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on what I see in the 4.0 documentation, popups should be able to be disabled via a few different popupEnabled options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm wondering if this is a defect in the popup functionality of the new version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The popupManager isn't available in any documentation or anything so I'm not sure it's the best option. Although it seems to be the only option. I haven't noticed any adverse effects yet doing it this way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;Luke Pint&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;Senior Software Engineer&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;DataCapable&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.datacapable.com%2F" rel="nofollow" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #287433;" target="_blank"&gt;http://www.datacapable.com/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 15:05:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disabling-graphic-layer-popup-in-javascript-api-4/m-p/400210#M36861</guid>
      <dc:creator>LukePint</dc:creator>
      <dc:date>2016-07-21T15:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling graphic layer popup in Javascript API 4.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disabling-graphic-layer-popup-in-javascript-api-4/m-p/400211#M36862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I couldn't find anything either. Unfortunately disabling the popup manager disables the popups for all graphic layers. I simply wanted to disable it for one of them which wasn't supposed to have a popup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, by disabling all of the popups, I was able to create the popups through click events, which solved the problem completely. It definitely feels like a defect in the popup functionality, so hopefully Esri is aware.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 16:16:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disabling-graphic-layer-popup-in-javascript-api-4/m-p/400211#M36862</guid>
      <dc:creator>SamHall</dc:creator>
      <dc:date>2016-07-21T16:16:00Z</dc:date>
    </item>
  </channel>
</rss>

