<?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: How to put queries in ArcGIS esri search? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-put-queries-in-arcgis-esri-search/m-p/1126728#M75616</link>
    <description>&lt;P&gt;You can learn about the Search Widget configuration in the doc:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check out this sample:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-search-multiplesource/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/widgets-search-multiplesource/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;...and here's a modified version of the sample that shows it configured to just one custom source:&lt;BR /&gt;&lt;A href="https://codepen.io/john-grayson/pen/GRMWVqw" target="_blank" rel="noopener"&gt;https://codepen.io/john-grayson/pen/GRMWVqw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Dec 2021 16:04:40 GMT</pubDate>
    <dc:creator>JohnGrayson</dc:creator>
    <dc:date>2021-12-16T16:04:40Z</dc:date>
    <item>
      <title>How to put queries in ArcGIS esri search?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-put-queries-in-arcgis-esri-search/m-p/1126577#M75611</link>
      <description>&lt;P&gt;I have my own query in search, How can i disable the default search function in ArcGIS search widget and apply mine?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the sample search widget in arcGIS, I want to override the search function, that the only thing that can be searched is the data in my query and it will appear just like in the picture&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="altair_0-1639638065297.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/29822iA85072C8EB7A44CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="altair_0-1639638065297.png" alt="altair_0-1639638065297.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my current code&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;const location = () =&amp;gt; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp;const map = new Map({&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; basemap: 'arcgis-light-gray',&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; const view = new MapView({&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; center: [123.5504, 12.3574], // Longitude, latitude&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; container: mapDiv.current,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; map: map,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; zoom: 2, // Zoom level&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ui: {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; components: ["attribution"] // removes default widgets except for attribution&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; var zoom = new Zoom({&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; view: view,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; layout: "vertical"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;});&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;view.ui.add(zoom, "bottom-right");&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; view&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .when((r) =&amp;gt; {})&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .then(() =&amp;gt; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mapDiv.current = view;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; search();&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;const search = () =&amp;gt; {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; const searchWidget = new Search();&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; mapDiv.current.ui.add(searchWidget, { position: "top-left", index: 2 });&lt;BR /&gt;&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 Dec 2021 07:01:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-put-queries-in-arcgis-esri-search/m-p/1126577#M75611</guid>
      <dc:creator>altair</dc:creator>
      <dc:date>2021-12-16T07:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to put queries in ArcGIS esri search?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-put-queries-in-arcgis-esri-search/m-p/1126728#M75616</link>
      <description>&lt;P&gt;You can learn about the Search Widget configuration in the doc:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Check out this sample:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-search-multiplesource/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/widgets-search-multiplesource/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;...and here's a modified version of the sample that shows it configured to just one custom source:&lt;BR /&gt;&lt;A href="https://codepen.io/john-grayson/pen/GRMWVqw" target="_blank" rel="noopener"&gt;https://codepen.io/john-grayson/pen/GRMWVqw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 16:04:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-put-queries-in-arcgis-esri-search/m-p/1126728#M75616</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2021-12-16T16:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to put queries in ArcGIS esri search?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-put-queries-in-arcgis-esri-search/m-p/1127924#M75650</link>
      <description>&lt;P&gt;can you provide an example?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 05:16:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-put-queries-in-arcgis-esri-search/m-p/1127924#M75650</guid>
      <dc:creator>altair</dc:creator>
      <dc:date>2021-12-21T05:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to put queries in ArcGIS esri search?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-put-queries-in-arcgis-esri-search/m-p/1128121#M75652</link>
      <description>&lt;P&gt;I provided a link to the documentation, a link to an API sample, and a link to a custom codepen example.&amp;nbsp; If the links to the information and examples provided don't show what you need, then maybe a more detailed explanation of what you need would be appropriate, along with providing&amp;nbsp;a codepen or similar showing the code of what you have tried so far so we can all experience your issues?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 18:58:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-put-queries-in-arcgis-esri-search/m-p/1128121#M75652</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2021-12-21T18:58:11Z</dc:date>
    </item>
  </channel>
</rss>

