<?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: Identify Widget, in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/identify-widget/m-p/747303#M666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The urls have to match protocol (i.e. http ot https) and cAsE when entered into the widgets setting to exactly what the map is actually using. There are no known issues with this widget and layers from AGOL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2020 12:40:29 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2020-05-05T12:40:29Z</dc:date>
    <item>
      <title>Identify Widget,</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/identify-widget/m-p/747302#M665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to use Robert's Identify Widget with REST map services from ArcGIS Server successfully.&lt;/P&gt;&lt;P&gt;Now I need to Identify feature layers that is published on ArcGIS Online. (&lt;A class="link-titled" href="https://services1.arcgis.com/D9ezssdp37tr9wbT/arcgis/rest/services/City_of_Carson_Basemap_2020_WFL1/FeatureServer/28" title="https://services1.arcgis.com/D9ezssdp37tr9wbT/arcgis/rest/services/City_of_Carson_Basemap_2020_WFL1/FeatureServer/28"&gt;https://services1.arcgis.com/D9ezssdp37tr9wbT/arcgis/rest/services/City_of_Carson_Basemap_2020_WFL1/FeatureServer&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;I configured the Identify Widget, and check-marked&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;the "Only These" checkbox&lt;SPAN&gt;&amp;nbsp;. But&amp;nbsp;it can only Identify the 6 visible layers(from Layerlist), and none of them are in my configured layers. Why?&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;Thank you for your help!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2020 06:13:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/identify-widget/m-p/747302#M665</guid>
      <dc:creator>BingJing</dc:creator>
      <dc:date>2020-05-05T06:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Widget,</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/identify-widget/m-p/747303#M666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The urls have to match protocol (i.e. http ot https) and cAsE when entered into the widgets setting to exactly what the map is actually using. There are no known issues with this widget and layers from AGOL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2020 12:40:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/identify-widget/m-p/747303#M666</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-05-05T12:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Identify Widget,</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/identify-widget/m-p/747304#M667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert&lt;/P&gt;&lt;P&gt;The URLS are correct. The widget does not Identify invisible featureserver layers. I tested today.. I&amp;nbsp;could only get identify results by turning on those layers in my LayerList widget.&lt;/P&gt;&lt;P&gt;While waiting for your reply, I debugged and commented out this section and now it is working .... Is this the right solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IdentifyFeatures:Function(geom){&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;if (layer.type &amp;amp;&amp;amp; layer.type === 'Feature Layer') {&lt;BR /&gt; if (!layer.url || layer.url === '' || !layer.hasOwnProperty('url')) {&lt;BR /&gt; return false;&lt;BR /&gt; }&lt;BR /&gt; if (this.config.layers.onlythese === true) {&lt;BR /&gt; if (this.isService2beIdentified(layer)) {&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;&amp;nbsp;&amp;nbsp;&lt;EM&gt;&amp;nbsp;/* //BJ 5/5/2020, comment out this because I want to identify invisible layers for featureServer on AGOL&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #008000; "&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;if (this.identifylayeroption === 'visible' || this.identifylayeroption === 'top') {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (!layer.visible || !layer.isVisibleAtScale(this.map.getScale())) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return false;&lt;BR /&gt; &amp;nbsp;&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;/P&gt;&lt;P&gt;&lt;EM style="color: #008000; "&gt;*/&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000;"&gt;.....&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2020 05:40:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/identify-widget/m-p/747304#M667</guid>
      <dc:creator>BingJing</dc:creator>
      <dc:date>2020-05-06T05:40:16Z</dc:date>
    </item>
  </channel>
</rss>

