<?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: Result of FeatureTable.QueryFeaturesAsync does not contain features that are in the HTTP response in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/result-of-featuretable-queryfeaturesasync-does-not/m-p/708736#M8920</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Jennifer.&amp;nbsp;It appears that the format of the where clause I was using was incorrect for the GUID field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was doing this:&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit;"&gt;"GLOBALID = '5D6BCAA4-D57A-4C97-820F-6E3B5E040CE9'"&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Using curly brackets and changing the GUID to uppercase correctly resulted in&amp;nbsp;returned feature objects. (Although I still find it misleading that this format&amp;nbsp;returns a response from the server with&amp;nbsp;the features in it but not when using the ArcGIS Runtime.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Sep 2018 22:07:26 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2018-09-14T22:07:26Z</dc:date>
    <item>
      <title>Result of FeatureTable.QueryFeaturesAsync does not contain features that are in the HTTP response</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/result-of-featuretable-queryfeaturesasync-does-not/m-p/708734#M8918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm calling&lt;/P&gt;&lt;PRE class="line-numbers language-csharp"&gt;&lt;CODE&gt;ServiceFeatureTable&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;QueryFeaturesAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;parameters&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; queryFeatureFields&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; cancellationToken&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;on a feature service table, with the where clause set to GUIDFIELD='value'. The resulting FeatureQueryResult contains a field collection&amp;nbsp;but does not contain any features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I&amp;nbsp;can see from monitoring the web requests via Fiddler that the HTTP response to the request contains two feature results. Presumably these are not being parsed by the ArcGISRuntime for some reason which is why they aren't in the FeatureQueryResult object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else experienced this or know of a possible workaround?&amp;nbsp;The&amp;nbsp;JSON response is attached (with personal details scrubbed out).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: It seems that if I set the where clause to "1=1" instead of the above statement, then&amp;nbsp;the FeatureQueryResult does contain features.&amp;nbsp;"OBJECTID='1'" also works. So bizarrely&amp;nbsp;it seems like the function only doesn't work when the where clause is matching a field value on an esriFieldTypeGUID field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2018 17:31:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/result-of-featuretable-queryfeaturesasync-does-not/m-p/708734#M8918</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-09-12T17:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Result of FeatureTable.QueryFeaturesAsync does not contain features that are in the HTTP response</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/result-of-featuretable-queryfeaturesasync-does-not/m-p/708735#M8919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not able to reproduce with this but I recall there's an issue if guid were in lowercase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seem to be &lt;A _jive_internal="true" href="https://community.esri.com/message/678043-re-featuretable-query-relationships" target="_blank"&gt;related&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; table &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;ServiceFeatureTable&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Uri&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fsampleserver6.arcgisonline.com%2Farcgis%2Frest%2Fservices%2FNotes%2FFeatureServer%2F0" target="_blank"&gt;https://sampleserver6.arcgisonline.com/arcgis/rest/services/Notes/FeatureServer/0&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; result &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;await&lt;/SPAN&gt; table&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;QueryFeaturesAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;QueryParameters&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt; WhereClause &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"globalid = '{5D6BCAA4-D57A-4C97-820F-6E3B5E040CE9}'"&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; QueryFeatureFields&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;LoadAll&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;c‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:46:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/result-of-featuretable-queryfeaturesasync-does-not/m-p/708735#M8919</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-12T05:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Result of FeatureTable.QueryFeaturesAsync does not contain features that are in the HTTP response</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/result-of-featuretable-queryfeaturesasync-does-not/m-p/708736#M8920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Jennifer.&amp;nbsp;It appears that the format of the where clause I was using was incorrect for the GUID field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was doing this:&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #669900; border: 0px; font-weight: inherit;"&gt;"GLOBALID = '5D6BCAA4-D57A-4C97-820F-6E3B5E040CE9'"&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Using curly brackets and changing the GUID to uppercase correctly resulted in&amp;nbsp;returned feature objects. (Although I still find it misleading that this format&amp;nbsp;returns a response from the server with&amp;nbsp;the features in it but not when using the ArcGIS Runtime.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 22:07:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/result-of-featuretable-queryfeaturesasync-does-not/m-p/708736#M8920</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-09-14T22:07:26Z</dc:date>
    </item>
  </channel>
</rss>

