<?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: Local map service wildcard query not working in Quartz in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/local-map-service-wildcard-query-not-working-in/m-p/361267#M4268</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;The wildcard characters have not changed. I&amp;nbsp;don't yet know why the query is not working in your example, but in ongoing testing with some test data I have found (test data Type includes features with values 'Forest', 'Reservoir', 'Rest Area'):&lt;/P&gt;&lt;P&gt;-&amp;nbsp;LOWER(Type) LIKE '%res%' =&amp;gt; returns 6 results&lt;/P&gt;&lt;P&gt;-&amp;nbsp;LOWER(Type) LIKE '%re%' =&amp;gt; returns 6 results&lt;/P&gt;&lt;P&gt;-&amp;nbsp;LOWER(Type) LIKE '%r%' =&amp;gt; returns 9 results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that&amp;nbsp;when creating the ServiceFeatureTable you should use&amp;nbsp;FeatureRequestMode.OnInteractionNoCache to always query the local service. Or alternatively you can use&amp;nbsp;&lt;SPAN&gt;FeatureRequestMode.ManualCache in conjunction with&amp;nbsp;a call to&amp;nbsp;PopulateFromServiceAsync() to fill a client-side cache with the features you want to query. There'll be an initial overhead in filling the local cache, but queries should then be faster. Note that you may need to set a higher LocalFeatureService.MaxRecords value before starting your service, depending on your choice of query to fill the cache.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've&amp;nbsp;submitted an issue for further investigation because there was one&amp;nbsp;case where i did not see the expected results (when using the OnInteractionNoCache approach).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 May 2017 00:08:22 GMT</pubDate>
    <dc:creator>MichaelBranscomb</dc:creator>
    <dc:date>2017-05-30T00:08:22Z</dc:date>
    <item>
      <title>Local map service wildcard query not working in Quartz</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/local-map-service-wildcard-query-not-working-in/m-p/361266#M4267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0cm 0cm 8pt;"&gt;The wildcard queries in a local map service on a layer or table from an mpk do not seem to be working. If I create a query such at:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 8pt; text-indent: 36pt;"&gt;some_field like ‘%1%’&lt;/P&gt;&lt;P style="margin: 0cm 0cm 8pt;"&gt;…and call the QueryFeaturesAsync method then zero records are always returned.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 8pt;"&gt;Has the wildcard character changed in Quartz?&lt;/P&gt;&lt;P style="margin: 0cm 0cm 8pt;"&gt;Even if I query the endpoint that is spun up via a web browser then still no records are found.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 8pt;"&gt;Oddly, if I use:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 8pt; text-indent: 36pt;"&gt;some_field like ‘1%’&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt;"&gt;…(missing the first wildcard character) then records are returned.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 15:23:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/local-map-service-wildcard-query-not-working-in/m-p/361266#M4267</guid>
      <dc:creator>PaulLivingstone</dc:creator>
      <dc:date>2017-01-05T15:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Local map service wildcard query not working in Quartz</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/local-map-service-wildcard-query-not-working-in/m-p/361267#M4268</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;The wildcard characters have not changed. I&amp;nbsp;don't yet know why the query is not working in your example, but in ongoing testing with some test data I have found (test data Type includes features with values 'Forest', 'Reservoir', 'Rest Area'):&lt;/P&gt;&lt;P&gt;-&amp;nbsp;LOWER(Type) LIKE '%res%' =&amp;gt; returns 6 results&lt;/P&gt;&lt;P&gt;-&amp;nbsp;LOWER(Type) LIKE '%re%' =&amp;gt; returns 6 results&lt;/P&gt;&lt;P&gt;-&amp;nbsp;LOWER(Type) LIKE '%r%' =&amp;gt; returns 9 results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that&amp;nbsp;when creating the ServiceFeatureTable you should use&amp;nbsp;FeatureRequestMode.OnInteractionNoCache to always query the local service. Or alternatively you can use&amp;nbsp;&lt;SPAN&gt;FeatureRequestMode.ManualCache in conjunction with&amp;nbsp;a call to&amp;nbsp;PopulateFromServiceAsync() to fill a client-side cache with the features you want to query. There'll be an initial overhead in filling the local cache, but queries should then be faster. Note that you may need to set a higher LocalFeatureService.MaxRecords value before starting your service, depending on your choice of query to fill the cache.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've&amp;nbsp;submitted an issue for further investigation because there was one&amp;nbsp;case where i did not see the expected results (when using the OnInteractionNoCache approach).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 00:08:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/local-map-service-wildcard-query-not-working-in/m-p/361267#M4268</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2017-05-30T00:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Local map service wildcard query not working in Quartz</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/local-map-service-wildcard-query-not-working-in/m-p/361268#M4269</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;This should be resolved in the v100.1 release (June 2017).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was in the URL decoding within the Local Server web server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 00:56:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/local-map-service-wildcard-query-not-working-in/m-p/361268#M4269</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2017-08-16T00:56:13Z</dc:date>
    </item>
  </channel>
</rss>

