<?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: About search widget, does the map have to be published as a feature server rather than a map server in order to use the suggestion function? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/about-search-widget-does-the-map-have-to-be/m-p/280964#M25940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt;Guangyu,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt;Search dijit does support map/feature service feature layer. and according to ArcGIS JS API documentation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt;"Suggestions are available if working with a 10.3 geocoding service that has &lt;/SPAN&gt;&lt;CODE style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; color: #4d4d4d; background-position: initial;"&gt;suggest&lt;/CODE&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt; capability loaded or a &lt;STRONG&gt;10.3 feature layer that supports pagination, i.e. &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;CODE style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; color: #4d4d4d; background-position: initial;"&gt;supportsPagination = true"&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, for pagination support check this out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/118631"&gt;How do you enable the "Supports Pagination" on a layer at 10.3?&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jan 2016 07:30:16 GMT</pubDate>
    <dc:creator>GirishYadav</dc:creator>
    <dc:date>2016-01-19T07:30:16Z</dc:date>
    <item>
      <title>About search widget, does the map have to be published as a feature server rather than a map server in order to use the suggestion function?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/about-search-widget-does-the-map-have-to-be/m-p/280963#M25939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use the code like this:&lt;/P&gt;&lt;P&gt; var search = new Search({&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sources: [{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; featureLayer = new FeatureLayer("&lt;A href="http://localhost:6080/arcgis/rest/services//103Map111/MapServer/0" title="http://localhost:6080/arcgis/rest/services//103Map111/MapServer/0"&gt;http://localhost:6080/arcgis/rest/services//103Map111/MapServer/0&lt;/A&gt; "),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searchFields: ["LGA_NAME11"],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; displayField: "LGA_NAME11",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exactMatch: false,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name: "LGA_NAME11",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields: ["*"],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; placeholder: "LGA_NAME",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxResults: 6,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxSuggestions: 6,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Create an InfoTemplate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate: new InfoTemplate("LGA_NAME11", "LGA_NAME11: ${LGA_NAME11}&amp;lt;/br&amp;gt;Decile: ${Decile}&amp;lt;/br&amp;gt;GP: ${LGA_GP}&amp;lt;/br&amp;gt;Psyc: ${LGA_Psyc}&amp;lt;/br&amp;gt;clinPsycol: ${LGA_clinPs}"),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; enableSuggestions: true,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; minCharacters: 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map: map&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, "search");&lt;BR /&gt;&amp;nbsp;&amp;nbsp; search.startup();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is quite similar with the sample code for search. However, even if&amp;nbsp; it can search the right place but cannot show suggestion. I think there is something wrong with the published map. But I have no idea on how to fix it.&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14531703957434136 jive_text_macro" data-renderedposition="533_8_912_0" jivemacro_uid="_14531703957434136"&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 02:33:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/about-search-widget-does-the-map-have-to-be/m-p/280963#M25939</guid>
      <dc:creator>guangyupan</dc:creator>
      <dc:date>2016-01-19T02:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: About search widget, does the map have to be published as a feature server rather than a map server in order to use the suggestion function?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/about-search-widget-does-the-map-have-to-be/m-p/280964#M25940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt;Guangyu,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt;Search dijit does support map/feature service feature layer. and according to ArcGIS JS API documentation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt;"Suggestions are available if working with a 10.3 geocoding service that has &lt;/SPAN&gt;&lt;CODE style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; color: #4d4d4d; background-position: initial;"&gt;suggest&lt;/CODE&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt; capability loaded or a &lt;STRONG&gt;10.3 feature layer that supports pagination, i.e. &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;CODE style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; color: #4d4d4d; background-position: initial;"&gt;supportsPagination = true"&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, for pagination support check this out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/118631"&gt;How do you enable the "Supports Pagination" on a layer at 10.3?&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 07:30:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/about-search-widget-does-the-map-have-to-be/m-p/280964#M25940</guid>
      <dc:creator>GirishYadav</dc:creator>
      <dc:date>2016-01-19T07:30:16Z</dc:date>
    </item>
  </channel>
</rss>

