<?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: Query a Portal using PortalQueryParams with a filter containing wildcards in tags in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-a-portal-using-portalqueryparams-with-a/m-p/1419187#M84511</link>
    <description>&lt;P&gt;I think filter only accepts exact values and query is the property you should go with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalQueryParams.html#query" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalQueryParams.html#query&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 06 May 2024 09:50:27 GMT</pubDate>
    <dc:creator>AndreV</dc:creator>
    <dc:date>2024-05-06T09:50:27Z</dc:date>
    <item>
      <title>Query a Portal using PortalQueryParams with a filter containing wildcards in tags</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-a-portal-using-portalqueryparams-with-a/m-p/1417837#M84478</link>
      <description>&lt;P&gt;I am interacting with my portal in js code. I wish to query the portal for tagged content using wildcard searches in my query filter.&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const queryParams = new PortalQueryParams({
    filter: 'orgid:MyOrgID AND tags:"TES*"',
    num: 100        
});

portal.queryItems(queryParams).then(function(results){
    // no results are returned
    // we expect results to have tags like TEST, TESTER, TESTING, etc.
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried an escape character (\*) and different wildcard characters (*, %, #, etc.) with no success.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm missing something obvious. Again. TIA.&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2024 22:56:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-a-portal-using-portalqueryparams-with-a/m-p/1417837#M84478</guid>
      <dc:creator>Dirk_Vandervoort</dc:creator>
      <dc:date>2024-05-01T22:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Query a Portal using PortalQueryParams with a filter containing wildcards in tags</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-a-portal-using-portalqueryparams-with-a/m-p/1418575#M84495</link>
      <description>&lt;P&gt;Did you try omitting the quotation marks around TES*?&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 08:51:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-a-portal-using-portalqueryparams-with-a/m-p/1418575#M84495</guid>
      <dc:creator>AndreV</dc:creator>
      <dc:date>2024-05-03T08:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Query a Portal using PortalQueryParams with a filter containing wildcards in tags</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-a-portal-using-portalqueryparams-with-a/m-p/1418787#M84500</link>
      <description>&lt;P&gt;Without the double-quotes and using either TES\* or TES* returns all content (throttled at 100 in queryParams).&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 15:49:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-a-portal-using-portalqueryparams-with-a/m-p/1418787#M84500</guid>
      <dc:creator>Dirk_Vandervoort</dc:creator>
      <dc:date>2024-05-03T15:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Query a Portal using PortalQueryParams with a filter containing wildcards in tags</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-a-portal-using-portalqueryparams-with-a/m-p/1419187#M84511</link>
      <description>&lt;P&gt;I think filter only accepts exact values and query is the property you should go with.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalQueryParams.html#query" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalQueryParams.html#query&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 09:50:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/query-a-portal-using-portalqueryparams-with-a/m-p/1419187#M84511</guid>
      <dc:creator>AndreV</dc:creator>
      <dc:date>2024-05-06T09:50:27Z</dc:date>
    </item>
  </channel>
</rss>

