<?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: Auto Complete / Auto Suggest in eSearch Widget in Value Search in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1065334#M20928</link>
    <description>&lt;P&gt;Hello Robert! How are you?&lt;/P&gt;&lt;P&gt;Thanks for your help so far. It helped a lot. I did as you instructed, changing the files exactly as you suggested. I pointed to my webapi with the return of the values for the autocomplete. Here the webapi return &lt;A href="https://gis.fepam.rs.gov.br/RSAguaWebAPI/api/AutoCompleteFiltroPorValor/retornaValoresAutoComplete" target="_blank" rel="noopener"&gt;https://gis.fepam.rs.gov.br/RSAguaWebAPI/api/AutoCompleteFiltroPorValor/retornaValoresAutoComplete &lt;/A&gt;&lt;/P&gt;&lt;P&gt;The problem I'm having is that it reports proxy error and colors. I've read some articles about this on the esri forum and on the javascript api help, but I'm not able to understand what I have to do to solve this problem. I have attached a screenshot of my application in chrome, as well as the open console next to it with the error (the description is in Brazilian Portuguese). In the Suggest_Textbox.js file, I added the lines below:&lt;/P&gt;&lt;P&gt;esriConfig.defaults.io.corsEnabledServers.push("gis.fepam.rs.gov.br");&lt;/P&gt;&lt;P&gt;esriConfig.defaults.io.corsEnabledServers.push("zee.rs.gov.br");&lt;/P&gt;&lt;P&gt;esriConfig.defaults.io.corsEnabledServers.push("localhost");&lt;/P&gt;&lt;P&gt;Even adding the possible addresses of my servers, I still couldn't resolve the error. If you can give me more that help, I'll be very grateful.&lt;/P&gt;&lt;P&gt;Note: access to the system can be done through the link &lt;A href="https://gis.fepam.rs.gov.br/RSAguaAutoComplete/" target="_blank" rel="noopener"&gt;https://gis.fepam.rs.gov.br/RSAguaAutoComplete/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR /&gt;Gilberto.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jun 2021 22:40:26 GMT</pubDate>
    <dc:creator>GilbertoMatos</dc:creator>
    <dc:date>2021-06-04T22:40:26Z</dc:date>
    <item>
      <title>Auto Complete / Auto Suggest in eSearch Widget in Value Search</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1029331#M20377</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I'm using the eSearch Widget, which is an excellent tool for my application developed with the web appbuilder. What happens is that my bosses at the company asked me to include in the search for value of this widget, for each of the search options by value (I have 4), the option to complete, that is, as the user is typing, value suggestions appear, until he can click on one he wants. Most correct, these values ​​would come from the service possibilities of the layer used in the widget, that is, if the user selects a watershed, they would suggest the possible values ​​for this field, which is the service of the layer itself. I developed a webapi in C #, which has a method (and a url), which receives the values ​​to be searched for each of these attributes. The problem is that I have no idea how to implement this call in the eSearch widget, for each of the different attributes that can be searched in the search by value. Any help will be most welcome.&lt;/P&gt;&lt;P&gt;Just to add: the idea would be to press each key in each of the search options by value, call my api, which returns a json restfull with the values ​​to be suggested. The problem is that everything is assembled dynamically from what I could understand.&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR /&gt;Gilberto.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 22:36:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1029331#M20377</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2021-02-22T22:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Complete / Auto Suggest in eSearch Widget in Value Search</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1029523#M20379</link>
      <description>&lt;P&gt;Gilberto,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have done this on my main website using a custom Suggest_Textbox.js code and a custom .Net web API. So it sound like you may be halfway there already. So in the eSearch\SingleParameter.html file you would add the&amp;nbsp;Suggest_Textbox dijit.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;...
        &amp;lt;td&amp;gt;
          &amp;lt;div data-dojo-attach-point="allValueBoxContainer" style="width:100%;padding-bottom:2px;"&amp;gt;
            &amp;lt;div data-dojo-attach-point="stringTextBoxContainer" style="display:none;"&amp;gt;
              &amp;lt;!-- &amp;lt;input data-dojo-attach-point="stringTextBox" data-dojo-type="dijit/form/TextBox" data-dojo-props="trim:true" style="display:none;width:100%;height:30px;" class="dijit-form-TextBox" /&amp;gt; --&amp;gt;
              &amp;lt;input data-dojo-attach-point="stringTextBox" data-dojo-type="widgets/eSearch/Suggest_TextBox" data-dojo-props="trim:true" style="display:none;width:100%;height:30px;" class="dijit-form-TextBox" /&amp;gt;
              &amp;lt;div data-dojo-attach-point="stringCodedValuesFS" data-dojo-type="dijit/form/FilteringSelect"
                   data-dojo-props="searchAttr:'name',intermediateChanges:true" class="dijit-form-FilteringSelect"&amp;gt;&amp;lt;/div&amp;gt;
            &amp;lt;/div&amp;gt;
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Notice I comment out the standard TextBox dijit and add the&amp;nbsp;&amp;nbsp;Suggest_Textbox dijit, having the same&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;data-dojo-attach-point name.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In the SingleParameter.js you just need to add the&amp;nbsp;'widgets/eSearch/Suggest_TextBox' to the define array.&lt;/DIV&gt;&lt;DIV&gt;I also set the&amp;nbsp;Suggest_TextBox.js&amp;nbsp;searchAlias property which determines which url to use in the&amp;nbsp;Suggest_TextBox.js.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Next would be editing the&amp;nbsp;Suggest_TextBox.js file to use your APIs urls.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Feb 2021 13:35:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1029523#M20379</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-02-23T13:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Complete / Auto Suggest in eSearch Widget in Value Search</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1029982#M20395</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Thank you very much for your help Robert. I will test what you suggested, and as soon as I finish, I put as my correct answer and attach my custom widget (based on your eSearch) so that other people can use it too.&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR /&gt;Gilberto.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 13:52:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1029982#M20395</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2021-02-24T13:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Complete / Auto Suggest in eSearch Widget in Value Search</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1065334#M20928</link>
      <description>&lt;P&gt;Hello Robert! How are you?&lt;/P&gt;&lt;P&gt;Thanks for your help so far. It helped a lot. I did as you instructed, changing the files exactly as you suggested. I pointed to my webapi with the return of the values for the autocomplete. Here the webapi return &lt;A href="https://gis.fepam.rs.gov.br/RSAguaWebAPI/api/AutoCompleteFiltroPorValor/retornaValoresAutoComplete" target="_blank" rel="noopener"&gt;https://gis.fepam.rs.gov.br/RSAguaWebAPI/api/AutoCompleteFiltroPorValor/retornaValoresAutoComplete &lt;/A&gt;&lt;/P&gt;&lt;P&gt;The problem I'm having is that it reports proxy error and colors. I've read some articles about this on the esri forum and on the javascript api help, but I'm not able to understand what I have to do to solve this problem. I have attached a screenshot of my application in chrome, as well as the open console next to it with the error (the description is in Brazilian Portuguese). In the Suggest_Textbox.js file, I added the lines below:&lt;/P&gt;&lt;P&gt;esriConfig.defaults.io.corsEnabledServers.push("gis.fepam.rs.gov.br");&lt;/P&gt;&lt;P&gt;esriConfig.defaults.io.corsEnabledServers.push("zee.rs.gov.br");&lt;/P&gt;&lt;P&gt;esriConfig.defaults.io.corsEnabledServers.push("localhost");&lt;/P&gt;&lt;P&gt;Even adding the possible addresses of my servers, I still couldn't resolve the error. If you can give me more that help, I'll be very grateful.&lt;/P&gt;&lt;P&gt;Note: access to the system can be done through the link &lt;A href="https://gis.fepam.rs.gov.br/RSAguaAutoComplete/" target="_blank" rel="noopener"&gt;https://gis.fepam.rs.gov.br/RSAguaAutoComplete/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR /&gt;Gilberto.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 22:40:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1065334#M20928</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2021-06-04T22:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Complete / Auto Suggest in eSearch Widget in Value Search</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1065948#M20937</link>
      <description>&lt;P&gt;Gilberto,&lt;/P&gt;&lt;P&gt;Normally I get past these cors issues by using a proxy in my WAB install. I never having any luck using localhost are mixing servers i.e. one portion being on localhost and the other being on a fully qualified domain.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 12:39:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1065948#M20937</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-06-08T12:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Complete / Auto Suggest in eSearch Widget in Value Search</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1066752#M20951</link>
      <description>&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;Thanks for your response. I really don't understand the reason for the error, since both the web api that I built in c# and the application generated and customized with the web appbuilder are on the same web server and hosted on this server's iis. I'm completely out of ideas of what might be going on. I've tried to implement proxy settings in the application, but I'm not able to find myself. If you have any other ideas of what it might be, I would be grateful if you could help me.&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR /&gt;Gilberto.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 05:02:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1066752#M20951</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2021-06-10T05:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Complete / Auto Suggest in eSearch Widget in Value Search</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1085573#M21187</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1104"&gt;@RobertScheitlin__GISP&lt;/a&gt;! How are you? I finally managed to fix the bug related to CORS. I just added a package via nuget and did the treatment for the colors inside the api methods.&lt;/P&gt;&lt;P&gt;Now I have just a little bug that I can't find the solution and with that, I'd like to ask you some simple questions regarding the solution you created in your environment to have the autocomplete. I noticed that after I type the third letter inside the text box, there is an attempt to open a drop-down box below the field, to load the options for selection. I created my method in the api, very simple, without passing parameters. When calling the api, it returns all the records contained in a table, without doing a "where like %%". How did you do in your api? Does the solution in the widget you created pass parameters to the api? Below I will detail the link with the results in json of my api, as well as the link and the place where I call the api in the GIS application. I'm asking for this help for you as now no errors are returned to me so I don't know what could be wrong. Thanks for the help.&lt;/P&gt;&lt;P&gt;Thank you!&lt;BR /&gt;Gilberto.&lt;/P&gt;&lt;P&gt;1) Gis Application &lt;A href="https://gis.fepam.rs.gov.br/rsaguaautocomplete/" target="_blank" rel="noopener"&gt;https://gis.fepam.rs.gov.br/rsaguaautocomplete/&lt;/A&gt; in "Filtrar Estações Monitoradas / Região Hidrográfica is" widget.&lt;/P&gt;&lt;P&gt;2) WebApi in Asp.Net C# &lt;A href="https://gis.fepam.rs.gov.br/RSAguaWebApi/api/AutoCompleteFiltroPorValor/retornaValoresAutoComplete" target="_blank" rel="noopener"&gt;https://gis.fepam.rs.gov.br/RSAguaWebApi/api/AutoCompleteFiltroPorValor/retornaValoresAutoComplete&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 02:36:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1085573#M21187</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2021-08-04T02:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Complete / Auto Suggest in eSearch Widget in Value Search</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1085646#M21189</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/383947"&gt;@GilbertoMatos&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How did you do in your api? Does the solution in the widget you created pass parameters to the api?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My API uses VB.net and one of the API Functions looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        &amp;lt;WebGet(UriTemplate:="/suggest/parcelnumbers?parcelnum={oParNum}", ResponseFormat:=WebMessageFormat.Json, BodyStyle:=WebMessageBodyStyle.Bare)&amp;gt;
        Public Function GetParcelnumber(Optional ByVal oParNum As String = "") As Message
            Dim parcelnum As New acSuggestions
            Using conn As New SqlConnection()
                conn.ConnectionString = strConn2
                Using cmd As New SqlCommand()
                    cmd.CommandText = "select [PARCEL_NUMBER] from county.OwnerParcel where " &amp;amp; "[PARCEL_NUMBER] like @SearchText + '%'"
                    cmd.Parameters.AddWithValue("@SearchText", oParNum)
                    cmd.Connection = conn
                    conn.Open()
                    Using sdr As SqlDataReader = cmd.ExecuteReader()
                        While sdr.Read()
                            parcelnum.suggestions.Add(String.Format("{0}", sdr("PARCEL_NUMBER")))
                        End While
                    End Using
                    conn.Close()
                End Using
                Dim msg As Message
                Dim formatQueryStringValue As String = WebOperationContext.Current.IncomingRequest.UriTemplateMatch.QueryParameters("f")
                If String.IsNullOrEmpty(formatQueryStringValue) = False Then
                    If formatQueryStringValue.Equals("xml", System.StringComparison.OrdinalIgnoreCase) Then
                        msg = WebOperationContext.Current.CreateXmlResponse(parcelnum)
                    ElseIf formatQueryStringValue.Equals("json", System.StringComparison.OrdinalIgnoreCase) Then
                        msg = WebOperationContext.Current.CreateJsonResponse(parcelnum)
                    ElseIf formatQueryStringValue.Equals("pjson", System.StringComparison.OrdinalIgnoreCase) Then
                        Dim json = JsonConvert.SerializeObject(parcelnum, Newtonsoft.Json.Formatting.Indented)
                        msg = WebOperationContext.Current.CreateTextResponse(json)
                    Else
                        Throw New WebFaultException(Of String)(String.Format("Unsupported format '{0}'", formatQueryStringValue), HttpStatusCode.BadRequest)
                        msg = WebOperationContext.Current.CreateJsonResponse(parcelnum)
                    End If
                Else
                    msg = WebOperationContext.Current.CreateJsonResponse(parcelnum)
                End If
                Return msg
            End Using
        End Function&lt;/LI-CODE&gt;&lt;P&gt;As far as the code in WAB I sent you the Suggest_TextBox.js code already and you can see in there that _onKeyUp checks for the length of the string in the input and if it matches the this.characters length the it fires the _popup that sends a esriRequest (with parameters) to the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way neither of your posted links work for me.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 12:34:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1085646#M21189</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-08-04T12:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Complete / Auto Suggest in eSearch Widget in Value Search</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1211223#M22488</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1104"&gt;@RobertScheitlin__GISP&lt;/a&gt;! How are you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After more than a year, I needed to support this functionality. What happens is that after the user enters three characters or more, the search code through my api works correctly, bringing a total of 43 options (for the value 'arr' without the quotes). What happens is that it is not opening the options as a suggestion. I have already debugged the code and no errors were reported in the console. Could you give me any suggestions as to what might be going on? I notice that below the field, something tries to open, but it seems to open empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 18:14:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1211223#M22488</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2022-09-09T18:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Complete / Auto Suggest in eSearch Widget in Value Search</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1211247#M22489</link>
      <description>&lt;P&gt;So are you saying that in the Suggest_TextBox.js code you are getting the results you would expect from your C# web service inside the def.then portion of the _popup function? I do not see 'arr' variable in the code I provided so I am a little confused.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 19:11:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1211247#M22489</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2022-09-09T19:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Complete / Auto Suggest in eSearch Widget in Value Search</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1211252#M22490</link>
      <description>&lt;P&gt;Yea! I'm getting the expected results from my C# service in Suggest_TextBox.js correctly. The problem is in the moment of mounting this on the screen for the user to select the desired option. I just see that something "flashes" below the textbox where it's being typed, but the options don't load and no errors show up on the screen for me. 'arr' is not a code variable. It is a value to be searched in the api that I type in the textbox field to return the data I need to filter. Sorry for my mess. My language is Brazilian Portuguese. I'll leave below the link to my example api service, the system link and a print with an arrow pointing to where the information is typed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Api Link: &lt;A href="https://gis.fepam.rs.gov.br/RSAguaWebAPI/AutoCompleteFiltroValor/ListarOpcoes?texto=arr" target="_self"&gt;https://gis.fepam.rs.gov.br/RSAguaWebAPI/AutoCompleteFiltroValor/ListarOpcoes?texto=arr&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;App Link: &lt;A href="https://gis.fepam.rs.gov.br/RSAguaAutoComplete/#" target="_self"&gt;https://gis.fepam.rs.gov.br/RSAguaAutoComplete/#&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 19:31:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1211252#M22490</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2022-09-09T19:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Complete / Auto Suggest in eSearch Widget in Value Search</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1211269#M22491</link>
      <description>&lt;P&gt;So this is the response I get from my web service&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{"suggestions":["123","1231","1232","1233","1234","1235","1236","1237","1238","1239","12333","12334","12335","12335","12336","12337","12339","12340","12341","12342","12343","12344","12345","12346","12347","12348","12349"]}&lt;/LI-CODE&gt;&lt;P&gt;And yours is:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;[{"texto":"Arroio Areal"},{"texto":"Arroio Arenal"},{"texto":"Arroio Baje"},{"texto":"Arroio Bolacha"},{"texto":"Arroio Candiota"},{"texto":"Arroio Caracá"},{"texto":"Arroio Castelhano"},{"texto":"Arroio Cavera"},{"texto":"Arroio Chico Loma"},{"texto":"Arroio Chuí"},{"texto":"Arroio da Pintada"},{"texto":"Arroio das Lavras"},{"texto":"Arroio Del Rei"},{"texto":"Arroio Do Bote"},{"texto":"Arroio dos Ratos"},{"texto":"Arroio Francisco Alves"},{"texto":"Arroio Garupa"},{"texto":"Arroio Grande"},{"texto":"Arroio Ibacuru"},{"texto":"Arroio Ibirocai"},{"texto":"Arroio Jacaré"},{"texto":"Arroio Jaguarão-Chico"},{"texto":"Arroio João Dias"},{"texto":"Arroio Não Sabia"},{"texto":"Arroio Pelotas"},{"texto":"Arroio Pequiri"},{"texto":"Arroio Petim"},{"texto":"Arroio Pinhal"},{"texto":"Arroio Pirai"},{"texto":"Arroio Portão"},{"texto":"Arroio Ribeiro"},{"texto":"Arroio Ribeiro Pequeno"},{"texto":"Arroio Saicã"},{"texto":"Arroio São Lourenço"},{"texto":"Arroio Sutil"},{"texto":"Arroio Taquara"},{"texto":"Arroio Taquarembozinho"},{"texto":"Arroio Telho"},{"texto":"Arroio Vacaquá"},{"texto":"Arroio Velhaco"},{"texto":"Arroio Vira Carreta"},{"texto":"Lagoa dos Barros"},{"texto":"Rio Carreiro"}]&lt;/LI-CODE&gt;&lt;P&gt;The BIG difference is you are returning an array of objects and mine is returning an object that has a property containing an array of strings...&lt;/P&gt;&lt;P&gt;So in the def.then of my code I am doing&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;array.map(resp.suggestions, lang.hitch(this, function(val){&lt;/LI-CODE&gt;&lt;P&gt;iterating through the resp.suggestions (where resp is an object and suggestions is a property of that object and is an array). In your case it would be more like:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;array.map(resp, lang.hitch(this, function(val){
  var item = new MenuItem({
    label: val.texto,
    onClick: lang.hitch(this, function (evt) {
...&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 09 Sep 2022 20:15:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1211269#M22491</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2022-09-09T20:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Complete / Auto Suggest in eSearch Widget in Value Search</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1211286#M22492</link>
      <description>&lt;P&gt;Perfect Robert!&lt;/P&gt;&lt;P&gt;It worked correctly. Thanks for the help once again.&lt;/P&gt;&lt;P&gt;Hug&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 21:29:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/auto-complete-auto-suggest-in-esearch-widget-in/m-p/1211286#M22492</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2022-09-09T21:29:15Z</dc:date>
    </item>
  </channel>
</rss>

