<?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 Search for layers REST API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-for-layers-rest-api/m-p/58831#M5174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to include some widget similar to the search layer popup you have in the map creation application. This popup helps you find layers based on type/keyword, etc...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I checked the ins and outs and saw the call was in the form &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;{my-account}.maps.arcgis.com/sharing/rest/search?some_cryptic_blablabla&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I use this web service in my own application? is it documented somewhere? can it be called without user or app identification, ie generic api?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Sep 2014 12:23:47 GMT</pubDate>
    <dc:creator>ThomasLefort</dc:creator>
    <dc:date>2014-09-24T12:23:47Z</dc:date>
    <item>
      <title>Search for layers REST API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-for-layers-rest-api/m-p/58831#M5174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to include some widget similar to the search layer popup you have in the map creation application. This popup helps you find layers based on type/keyword, etc...&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I checked the ins and outs and saw the call was in the form &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;{my-account}.maps.arcgis.com/sharing/rest/search?some_cryptic_blablabla&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I use this web service in my own application? is it documented somewhere? can it be called without user or app identification, ie generic api?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Sep 2014 12:23:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-for-layers-rest-api/m-p/58831#M5174</guid>
      <dc:creator>ThomasLefort</dc:creator>
      <dc:date>2014-09-24T12:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Search for layers REST API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-for-layers-rest-api/m-p/1087057#M74202</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;A href="http:" target="_blank" rel="nofollow noopener noreferrer"&gt;http://&lt;/A&gt;{my-account}.maps.arcgis.com/sharing/rest/search?f=pjson&amp;amp;q=(tags:"tag1" AND "tag2") AND type:"Feature Service"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 12:02:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-for-layers-rest-api/m-p/1087057#M74202</guid>
      <dc:creator>pmi</dc:creator>
      <dc:date>2021-08-09T12:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Search for layers REST API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-for-layers-rest-api/m-p/1087131#M74209</link>
      <description>&lt;P&gt;Have you checked out the 'search' doc yet?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html#queryItems" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-Portal.html#queryItems&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalQueryParams.html" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalQueryParams.html#query&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalQueryParams.html" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-portal-PortalQueryParams.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/search-reference.htm" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/rest/users-groups-and-items/search-reference.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/search.htm" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/rest/users-groups-and-items/search.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 15:29:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-for-layers-rest-api/m-p/1087131#M74209</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2021-08-09T15:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Search for layers REST API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-for-layers-rest-api/m-p/1087223#M74214</link>
      <description>&lt;P&gt;Thank you John for your answer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the link you provided&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/search-reference.htm" target="_blank"&gt;https://developers.arcgis.com/rest/users-groups-and-items/search-reference.htm&lt;/A&gt;&amp;nbsp;I found statement&lt;SPAN&gt;&lt;STRONG&gt;&amp;nbsp;Developers should avoid using search to find specific items?&amp;nbsp;&lt;/STRONG&gt;What should&amp;nbsp;developers&amp;nbsp; use instead?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I try to find all feature layers whit a certain tag. How can I achieve this using the REST API whit out&amp;nbsp;using JS API Clients?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here the whole statement:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[...] This search engine uses many different inputs to find the appropriate results and rank them. This often makes search 'fuzzy', making it ideal for human interaction, but not necessarily ideal for looking for specific records programmatically.&lt;STRONG&gt; Developers should avoid using search to find specific items&lt;/STRONG&gt; (e.g. by title) as the results of these types of queries might change as the search engine evolves.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 19:13:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-for-layers-rest-api/m-p/1087223#M74214</guid>
      <dc:creator>pmi</dc:creator>
      <dc:date>2021-08-09T19:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Search for layers REST API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-for-layers-rest-api/m-p/1087325#M74221</link>
      <description>&lt;P&gt;"...&lt;SPAN&gt;find all feature layers with a certain tag" is &lt;U&gt;not&lt;/U&gt; the same as "...using search to find specific items".&amp;nbsp; I think you're reading too much into the highlighted sentence.&amp;nbsp; What you should avoid using 'search' for is when you want to access&amp;nbsp;&lt;U&gt;a&amp;nbsp;specific item&lt;/U&gt;. If you need to access &lt;U&gt;a specific item&lt;/U&gt; I would recommend creating a PortalItem and use the item id directly.&amp;nbsp; Searching for layers with a certain tag is a valid use of 'search', especially if you limit the search to within an org, group, or by user.&amp;nbsp; If you're using the JS API you can use the above classes to do what you need without having to do things via REST.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 00:06:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-for-layers-rest-api/m-p/1087325#M74221</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2021-08-10T00:06:28Z</dc:date>
    </item>
  </channel>
</rss>

