<?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 Dynamic Mapservice popups fail in webmap when default visibility is off in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamic-mapservice-popups-fail-in-webmap-when/m-p/272313#M7252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wondering if anyone has come across this problem.&amp;nbsp; I have a webmap that contains a dynamic map service.&amp;nbsp; All the layers in the service have popups enabled in the webmap.&amp;nbsp; Some layers have their visibility turned on by default in the webmap and others are turned off.&amp;nbsp; In the AGOL map viewer everything seems to work fine, however if I publish the webmap as an application or use it in a simple JSAPI application the popups only work for layers that have their visibility turned on by default in the webmap.&amp;nbsp; It seems to me theres an api bug here, but I'm struggling to find a workaround.&amp;nbsp; Any help would be great&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;webmap&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.arcgis.com/home/item.html?id=488207cb49e045d5910a6496c1a0b26c" rel="nofollow" target="_blank"&gt;&lt;SPAN style="color: black;"&gt;http://www.arcgis.com/home/item.html?id=488207cb49&lt;SPAN style="color: black;"&gt;e045d5910a6496c1a0b26c&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this WAB displays the symptoms, but note this is not an isolated WAB issue as I can replicate this in any code I use the web map in&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WAB application&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://esrica-services.maps.arcgis.com/apps/webappviewer/index.html?id=e80de56247934d71b89a7a8ae7f3abd3" rel="nofollow" target="_blank"&gt;ArcGIS Web Application&lt;/A&gt; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Oct 2014 16:21:12 GMT</pubDate>
    <dc:creator>DavidStajan</dc:creator>
    <dc:date>2014-10-23T16:21:12Z</dc:date>
    <item>
      <title>Dynamic Mapservice popups fail in webmap when default visibility is off</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamic-mapservice-popups-fail-in-webmap-when/m-p/272313#M7252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was wondering if anyone has come across this problem.&amp;nbsp; I have a webmap that contains a dynamic map service.&amp;nbsp; All the layers in the service have popups enabled in the webmap.&amp;nbsp; Some layers have their visibility turned on by default in the webmap and others are turned off.&amp;nbsp; In the AGOL map viewer everything seems to work fine, however if I publish the webmap as an application or use it in a simple JSAPI application the popups only work for layers that have their visibility turned on by default in the webmap.&amp;nbsp; It seems to me theres an api bug here, but I'm struggling to find a workaround.&amp;nbsp; Any help would be great&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;webmap&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.arcgis.com/home/item.html?id=488207cb49e045d5910a6496c1a0b26c" rel="nofollow" target="_blank"&gt;&lt;SPAN style="color: black;"&gt;http://www.arcgis.com/home/item.html?id=488207cb49&lt;SPAN style="color: black;"&gt;e045d5910a6496c1a0b26c&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this WAB displays the symptoms, but note this is not an isolated WAB issue as I can replicate this in any code I use the web map in&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WAB application&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://esrica-services.maps.arcgis.com/apps/webappviewer/index.html?id=e80de56247934d71b89a7a8ae7f3abd3" rel="nofollow" target="_blank"&gt;ArcGIS Web Application&lt;/A&gt; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 16:21:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamic-mapservice-popups-fail-in-webmap-when/m-p/272313#M7252</guid>
      <dc:creator>DavidStajan</dc:creator>
      <dc:date>2014-10-23T16:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Mapservice popups fail in webmap when default visibility is off</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamic-mapservice-popups-fail-in-webmap-when/m-p/272314#M7253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Just an update.&amp;nbsp; It wasn’t so much a bug but a setting that should probably be set to true by default.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;When adding your webmap to your application there is an option (added in jsapi 3.10) called usePopupManager.&amp;nbsp; If set to true it will resolve the issue, the default value of this option is false. see the api documentation for more detail &lt;A href="https://developers.arcgis.com/javascript/jsapi/esri.arcgis.utils-amd.html"&gt;&lt;SPAN style="color: black;"&gt;https://developers.arcgis.com/javascript/jsapi/esri.arcgis.utils-amd.html&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;var createMapOptions = {&lt;BR /&gt; mapOptions: {&lt;BR /&gt; slider: true&lt;BR /&gt; },&lt;BR /&gt; &lt;SPAN style="background: yellow;"&gt;usePopupManager: true,&lt;/SPAN&gt; // since version 3.10&lt;BR /&gt; bingMapsKey: bingMapsKey,&lt;BR /&gt; geometryServiceURL: "&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer"&gt;&lt;SPAN style="color: black;"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer&lt;/SPAN&gt;&lt;/A&gt;"&lt;BR /&gt; &lt;BR /&gt; };&lt;BR /&gt; var webMapItemID = "c41d5f3b4e304806a047702fbfc2759e";&lt;BR /&gt; deferred = arcgisUtils.createMap(webMapItemID, "ui-map", createMapOptions);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also advised the WAB beta team to consider updating this in WAB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2014 21:20:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/dynamic-mapservice-popups-fail-in-webmap-when/m-p/272314#M7253</guid>
      <dc:creator>DavidStajan</dc:creator>
      <dc:date>2014-10-23T21:20:58Z</dc:date>
    </item>
  </channel>
</rss>

