<?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: New Map Viewer and Classic cannot handle underscore in Filters in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/new-map-viewer-and-classic-cannot-handle/m-p/1107123#M42548</link>
    <description>&lt;P&gt;Try using brackets to escape wildcards. It appears your guess is right, ESCAPE doesn't really do anything.&lt;/P&gt;&lt;P&gt;Here's a feature w/ an underscore.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1634139920478.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25093i8BAFCCF0692551BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1634139920478.png" alt="jcarlson_0-1634139920478.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Filtering for "contains _":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_1-1634139958390.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25094i90C9B4F56D2B12BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_1-1634139958390.png" alt="jcarlson_1-1634139958390.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(For the record, those other features do &lt;EM&gt;not&lt;/EM&gt; have underscores.)&lt;/P&gt;&lt;P&gt;Filtering for "contains [_]":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_2-1634140006122.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25095iEF8DD6F2F1DC7C65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_2-1634140006122.png" alt="jcarlson_2-1634140006122.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Oct 2021 15:46:37 GMT</pubDate>
    <dc:creator>jcarlson</dc:creator>
    <dc:date>2021-10-13T15:46:37Z</dc:date>
    <item>
      <title>New Map Viewer and Classic cannot handle underscore in Filters</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/new-map-viewer-and-classic-cannot-handle/m-p/1107089#M42545</link>
      <description>&lt;P&gt;The New Map Viewer does not handle underscore correctly in a filter.&amp;nbsp; It seems to do nothing.&amp;nbsp; Looks like maybe escape was not programmed in?&amp;nbsp; I just checked and the classic viewer does not work either.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1634136152084.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25089i3C8DF316457539F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_0-1634136152084.png" alt="DougBrowning_0-1634136152084.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In Python it is&amp;nbsp;&lt;/P&gt;&lt;P&gt;whereClause = "RecKey LIKE '%$_' ESCAPE '$' Or RecKey LIKE '$_%' ESCAPE '$'"&lt;/P&gt;&lt;P&gt;Is there a way to use escape or similar?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 14:48:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/new-map-viewer-and-classic-cannot-handle/m-p/1107089#M42545</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-10-13T14:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: New Map Viewer and Classic cannot handle underscore in Filters</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/new-map-viewer-and-classic-cannot-handle/m-p/1107123#M42548</link>
      <description>&lt;P&gt;Try using brackets to escape wildcards. It appears your guess is right, ESCAPE doesn't really do anything.&lt;/P&gt;&lt;P&gt;Here's a feature w/ an underscore.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1634139920478.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25093i8BAFCCF0692551BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1634139920478.png" alt="jcarlson_0-1634139920478.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Filtering for "contains _":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_1-1634139958390.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25094i90C9B4F56D2B12BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_1-1634139958390.png" alt="jcarlson_1-1634139958390.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(For the record, those other features do &lt;EM&gt;not&lt;/EM&gt; have underscores.)&lt;/P&gt;&lt;P&gt;Filtering for "contains [_]":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_2-1634140006122.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/25095iEF8DD6F2F1DC7C65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_2-1634140006122.png" alt="jcarlson_2-1634140006122.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 15:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/new-map-viewer-and-classic-cannot-handle/m-p/1107123#M42548</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-10-13T15:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: New Map Viewer and Classic cannot handle underscore in Filters</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/new-map-viewer-and-classic-cannot-handle/m-p/1107128#M42550</link>
      <description>&lt;P&gt;Well that worked.&amp;nbsp; Where did you find that?&amp;nbsp; Is it documented?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 15:51:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/new-map-viewer-and-classic-cannot-handle/m-p/1107128#M42550</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-10-13T15:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: New Map Viewer and Classic cannot handle underscore in Filters</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/new-map-viewer-and-classic-cannot-handle/m-p/1107130#M42551</link>
      <description>&lt;P&gt;I've no idea if it's documented in the ESRI-verse anywhere, but I had to do a similar filter once and saw this in the MS SQL docs: &lt;A href="https://docs.microsoft.com/en-us/sql/t-sql/language-elements/like-transact-sql?view=sql-server-ver15#using-wildcard-characters-as-literals" target="_blank"&gt;https://docs.microsoft.com/en-us/sql/t-sql/language-elements/like-transact-sql?view=sql-server-ver15#using-wildcard-characters-as-literals&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 15:54:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/new-map-viewer-and-classic-cannot-handle/m-p/1107130#M42551</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-10-13T15:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: New Map Viewer and Classic cannot handle underscore in Filters</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/new-map-viewer-and-classic-cannot-handle/m-p/1107140#M42554</link>
      <description>&lt;P&gt;I did not even try it since [] does not work on a GDB.&amp;nbsp; I have found the SQL to be slightly diff for each place in Arc, which is a major pain.&amp;nbsp; I found things like CAST works on a GDB but not a in_memory set.&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/t5/data-management-questions/using-sql-cast-functionality-in-against-a-file/td-p/209575" target="_blank"&gt;https://community.esri.com/t5/data-management-questions/using-sql-cast-functionality-in-against-a-file/td-p/209575&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Wish it was all consistent.&amp;nbsp; Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 16:08:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/new-map-viewer-and-classic-cannot-handle/m-p/1107140#M42554</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-10-13T16:08:35Z</dc:date>
    </item>
  </channel>
</rss>

