<?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: Group Filter _queryExtentToZoom Errors in WAB 2.2 in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-queryextenttozoom-errors-in-wab-2-2/m-p/366766#M9759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the error 'getExtent' of null is the result of the query request that has no extent in the result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like below.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #16325c; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12px;"&gt;{"count":0,"extent":{"xmin":"N&lt;/SPAN&gt;&lt;SPAN style="color: #16325c; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12px;"&gt;aN","ymin":"NaN","xmax":"NaN","&lt;/SPAN&gt;&lt;SPAN style="color: #16325c; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12px;"&gt;ymax":"NaN"}}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #16325c; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12px;"&gt;we can add additional checking in the Widgets/GroupFilter/widget.js line ~~1327 for function&amp;nbsp;_queryExtentToZoom to check if the xmax,xmin,ymax.xmin value is not NaN like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;_queryExtentToZoom: function(results) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;if(typeof(results.extent) !== 'undefined' &amp;amp;&amp;amp; results.extent !== null ) {&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;if(results.extent.xmax !== 'NaN' || results.extent.xmin !== 'NaN' || results.extent.ymax !== 'NaN' || results.extent.ymin !== 'NaN') {&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var newExt = (geometryEngine.geodesicBuffer(results.extent, 10, 9002, false)).getExtent();&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;......&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;......&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt; },&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Nov 2016 19:07:23 GMT</pubDate>
    <dc:creator>ErwinSoekianto</dc:creator>
    <dc:date>2016-11-03T19:07:23Z</dc:date>
    <item>
      <title>Group Filter _queryExtentToZoom Errors in WAB 2.2</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-queryextenttozoom-errors-in-wab-2-2/m-p/366760#M9753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/46268"&gt;Clare Price&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;I have a GroupFilter setup with multiple groups. When switching between the groups and querying," zoom to" doesnt seem to work properly. It either zooms to full extent or doesnt zoom at all and then i have to&amp;nbsp;hit "Apply" twice or more to get the widget to query and zoom again. Is this a known&amp;nbsp;issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The widget works fine when I only have one group in the filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/253008_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 19:26:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-queryextenttozoom-errors-in-wab-2-2/m-p/366760#M9753</guid>
      <dc:creator>SowjanyaSunkara3</dc:creator>
      <dc:date>2016-10-27T19:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Group Filter _queryExtentToZoom Errors in WAB 2.2</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-queryextenttozoom-errors-in-wab-2-2/m-p/366761#M9754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sowjanya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Are you using an esri base map in WKID 102100 or some custom basemap in another WKID?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 19:45:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-queryextenttozoom-errors-in-wab-2-2/m-p/366761#M9754</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-10-27T19:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Group Filter _queryExtentToZoom Errors in WAB 2.2</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-queryextenttozoom-errors-in-wab-2-2/m-p/366762#M9755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/rscheitlin"&gt;rscheitlin&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;We are using the ESRI Basemap clipped to our territory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 20:50:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-queryextenttozoom-errors-in-wab-2-2/m-p/366762#M9755</guid>
      <dc:creator>SowjanyaSunkara3</dc:creator>
      <dc:date>2016-10-27T20:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Group Filter _queryExtentToZoom Errors in WAB 2.2</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-queryextenttozoom-errors-in-wab-2-2/m-p/366763#M9756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Sowjanya,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp;The reason I ask is the error is coming from this line:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;var newExt = (geometryEngine.geodesicBuffer(results.extent, 10, 9002, false)).getExtent();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Which means the&amp;nbsp;&lt;SPAN&gt;geometryEngine.geodesicBuffer(results.extent, 10, 9002, false) is returning null.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;geodesicBuffer should only be used on WebMercator or Geographic geometry. So either the&amp;nbsp;results.extent is null or is in some wkid besides&amp;nbsp;WebMercator or Geographic.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;Probably best to call tech support and see if this is a bug.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 20:56:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-queryextenttozoom-errors-in-wab-2-2/m-p/366763#M9756</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-10-27T20:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Group Filter _queryExtentToZoom Errors in WAB 2.2</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-queryextenttozoom-errors-in-wab-2-2/m-p/366764#M9757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/people/rscheitlin"&gt;rscheitlin&lt;/A&gt;‌.&lt;/P&gt;&lt;P&gt;Just verified that all our data thats being used is in WebMercator.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 21:51:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-queryextenttozoom-errors-in-wab-2-2/m-p/366764#M9757</guid>
      <dc:creator>SowjanyaSunkara3</dc:creator>
      <dc:date>2016-10-27T21:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Group Filter _queryExtentToZoom Errors in WAB 2.2</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-queryextenttozoom-errors-in-wab-2-2/m-p/366765#M9758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Initial troubleshooting in tech support concluded that the error 'getExtent' of null is the result of the query request that has no extent in the result.&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Like below.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #16325c; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12px;"&gt;{"count":0,"extent":{"xmin":"N&lt;/SPAN&gt;&lt;SPAN style="color: #16325c; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12px;"&gt;aN","ymin":"NaN","xmax":"NaN","&lt;/SPAN&gt;&lt;SPAN style="color: #16325c; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12px;"&gt;ymax":"NaN"}}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 18:42:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-queryextenttozoom-errors-in-wab-2-2/m-p/366765#M9758</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2016-11-03T18:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Group Filter _queryExtentToZoom Errors in WAB 2.2</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-queryextenttozoom-errors-in-wab-2-2/m-p/366766#M9759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the error 'getExtent' of null is the result of the query request that has no extent in the result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like below.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #16325c; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12px;"&gt;{"count":0,"extent":{"xmin":"N&lt;/SPAN&gt;&lt;SPAN style="color: #16325c; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12px;"&gt;aN","ymin":"NaN","xmax":"NaN","&lt;/SPAN&gt;&lt;SPAN style="color: #16325c; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12px;"&gt;ymax":"NaN"}}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #16325c; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 12px;"&gt;we can add additional checking in the Widgets/GroupFilter/widget.js line ~~1327 for function&amp;nbsp;_queryExtentToZoom to check if the xmax,xmin,ymax.xmin value is not NaN like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;_queryExtentToZoom: function(results) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;if(typeof(results.extent) !== 'undefined' &amp;amp;&amp;amp; results.extent !== null ) {&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;if(results.extent.xmax !== 'NaN' || results.extent.xmin !== 'NaN' || results.extent.ymax !== 'NaN' || results.extent.ymin !== 'NaN') {&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var newExt = (geometryEngine.geodesicBuffer(results.extent, 10, 9002, false)).getExtent();&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;......&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;......&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt; },&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 19:07:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/group-filter-queryextenttozoom-errors-in-wab-2-2/m-p/366766#M9759</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2016-11-03T19:07:23Z</dc:date>
    </item>
  </channel>
</rss>

