<?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 Modify existing search widget in WAB (text-box to drop-down List) in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modify-existing-search-widget-in-wab-text-box-to/m-p/871356#M12883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to modify the Search Widget available in WAB so that I can select values within a layer.&lt;/P&gt;&lt;P&gt;I currently have the search box set up to search a layer by the field "name" when typed in the text box, but I would like these names available in a drop-down menu. &amp;nbsp;I have attempted to rearrange code and use bits from other widgets that contain drop-downs but I receive errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current html code for search widget (out of the box from ESRI):&lt;/P&gt;&lt;P&gt;&amp;lt;div&amp;gt;&lt;BR /&gt; &amp;lt;div data-dojo-attach-point="searchNode" class="search-node"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;div data-dojo-attach-point="searchResultsNode" class="searchResults arcgisSearch"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code containing the drop-down function (from eSearch widget by &lt;SPAN style="color: #8b8b8b; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;A _jive_internal="true" class="" data-userid="3101" data-username="rscheitlin" href="https://community.esri.com/people/rscheitlin" style="color: #8ca9cd; background-color: #ffffff; border: 0px; font-weight: 600; font-size: 13.7136px;"&gt;Robert Scheitlin, GISP&lt;/A&gt;) :&lt;/P&gt;&lt;P&gt;&amp;lt;select class="esearch-select" style="margin-bottom:10px;float:left;"&lt;BR /&gt; data-dojo-attach-point="selectLayerGraphical" data-dojo-type="dijit/form/Select"&amp;gt;&amp;lt;/select&amp;gt;&lt;BR /&gt; &amp;lt;div data-dojo-type="&lt;SPAN style="color: #000000;"&gt;dijit/form/DropDownButton&lt;/SPAN&gt;" data-dojo-attach-point="gSelectType" iconclass="newSelIcon"&lt;BR /&gt; class="selectionmenu"&amp;gt;&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I be able to use the 2nd to modify the 1st?..correctly &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2016 13:46:07 GMT</pubDate>
    <dc:creator>FelixciaBlanchard2</dc:creator>
    <dc:date>2016-10-12T13:46:07Z</dc:date>
    <item>
      <title>Modify existing search widget in WAB (text-box to drop-down List)</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modify-existing-search-widget-in-wab-text-box-to/m-p/871356#M12883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to modify the Search Widget available in WAB so that I can select values within a layer.&lt;/P&gt;&lt;P&gt;I currently have the search box set up to search a layer by the field "name" when typed in the text box, but I would like these names available in a drop-down menu. &amp;nbsp;I have attempted to rearrange code and use bits from other widgets that contain drop-downs but I receive errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current html code for search widget (out of the box from ESRI):&lt;/P&gt;&lt;P&gt;&amp;lt;div&amp;gt;&lt;BR /&gt; &amp;lt;div data-dojo-attach-point="searchNode" class="search-node"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt; &amp;lt;div data-dojo-attach-point="searchResultsNode" class="searchResults arcgisSearch"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code containing the drop-down function (from eSearch widget by &lt;SPAN style="color: #8b8b8b; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;A _jive_internal="true" class="" data-userid="3101" data-username="rscheitlin" href="https://community.esri.com/people/rscheitlin" style="color: #8ca9cd; background-color: #ffffff; border: 0px; font-weight: 600; font-size: 13.7136px;"&gt;Robert Scheitlin, GISP&lt;/A&gt;) :&lt;/P&gt;&lt;P&gt;&amp;lt;select class="esearch-select" style="margin-bottom:10px;float:left;"&lt;BR /&gt; data-dojo-attach-point="selectLayerGraphical" data-dojo-type="dijit/form/Select"&amp;gt;&amp;lt;/select&amp;gt;&lt;BR /&gt; &amp;lt;div data-dojo-type="&lt;SPAN style="color: #000000;"&gt;dijit/form/DropDownButton&lt;/SPAN&gt;" data-dojo-attach-point="gSelectType" iconclass="newSelIcon"&lt;BR /&gt; class="selectionmenu"&amp;gt;&amp;lt;span&amp;gt;&amp;lt;/span&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would I be able to use the 2nd to modify the 1st?..correctly &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 13:46:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modify-existing-search-widget-in-wab-text-box-to/m-p/871356#M12883</guid>
      <dc:creator>FelixciaBlanchard2</dc:creator>
      <dc:date>2016-10-12T13:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Modify existing search widget in WAB (text-box to drop-down List)</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modify-existing-search-widget-in-wab-text-box-to/m-p/871357#M12884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;F Blanchard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you are using ArcGIS server 10.3.1 or greater then the search widget will provide a drop down list of suggestions automatically. Short of this you are on your own. The reason my eSearch provides a drop down list is because I have a completely different code base that performs queries on the map service data to be unique values from the map service layer field. There is no simple add a couple of lines of code and your done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 14:13:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modify-existing-search-widget-in-wab-text-box-to/m-p/871357#M12884</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-10-12T14:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Modify existing search widget in WAB (text-box to drop-down List)</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modify-existing-search-widget-in-wab-text-box-to/m-p/871358#M12885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Robert. I appreciate your reply.&lt;/P&gt;&lt;P&gt;Yes I am using 10.4. Naively I thought it would be as simple as just changing the box type in the html file. I am quickly learning these develops &amp;nbsp;are not so easy. I am very new to&amp;nbsp;widgets and app modifications.&lt;/P&gt;&lt;P&gt;Thanks a bunch!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 18:12:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/modify-existing-search-widget-in-wab-text-box-to/m-p/871358#M12885</guid>
      <dc:creator>FelixciaBlanchard2</dc:creator>
      <dc:date>2016-10-12T18:12:21Z</dc:date>
    </item>
  </channel>
</rss>

