<?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: StreamLayer QueryFeature is not working. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/streamlayer-queryfeature-is-not-working/m-p/322272#M29641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on your code snippet, you have different names for your layerView variable (streamLayerView, layerView). That probably is the root of your problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I updated the 4.15&amp;nbsp;&lt;A href="https://codepen.io/U_B_U/pen/LYpBPav?editable=true&amp;amp;editors=100"&gt;SDK sample&lt;/A&gt;&amp;nbsp;to query features from a stream layer view and it is working as expected.&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2020 17:25:07 GMT</pubDate>
    <dc:creator>UndralBatsukh</dc:creator>
    <dc:date>2020-05-12T17:25:07Z</dc:date>
    <item>
      <title>StreamLayer QueryFeature is not working.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/streamlayer-queryfeature-is-not-working/m-p/322271#M29640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QueryFeature not getting result set in StreamLayer using ArcGIS API for Javascript 4x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;streamLayerView.watch("updating", function(val){&lt;BR /&gt; if(!val){ // wait for the layer view to finish updating&lt;BR /&gt; layerView.queryFeatures(query).then(function(results){&lt;BR /&gt; console.log(results.features); // prints the array of client-side graphics to the console&lt;BR /&gt; });&lt;BR /&gt; }&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one suggest me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2020 07:08:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/streamlayer-queryfeature-is-not-working/m-p/322271#M29640</guid>
      <dc:creator>RajP</dc:creator>
      <dc:date>2020-05-11T07:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: StreamLayer QueryFeature is not working.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/streamlayer-queryfeature-is-not-working/m-p/322272#M29641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on your code snippet, you have different names for your layerView variable (streamLayerView, layerView). That probably is the root of your problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I updated the 4.15&amp;nbsp;&lt;A href="https://codepen.io/U_B_U/pen/LYpBPav?editable=true&amp;amp;editors=100"&gt;SDK sample&lt;/A&gt;&amp;nbsp;to query features from a stream layer view and it is working as expected.&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 17:25:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/streamlayer-queryfeature-is-not-working/m-p/322272#M29641</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2020-05-12T17:25:07Z</dc:date>
    </item>
  </channel>
</rss>

