<?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: Extend Enhanced Search Widget in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165074#M4640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert, I have attached the code for your reference. Thanks again for all your help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Apr 2016 12:47:19 GMT</pubDate>
    <dc:creator>soniamonga</dc:creator>
    <dc:date>2016-04-22T12:47:19Z</dc:date>
    <item>
      <title>Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165063#M4629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&amp;nbsp; I have task where I need to select a predefined value from a drop down, and based on that value it queries the &lt;STRONG&gt;underlying layers. &lt;/STRONG&gt;Your widget works great if I have to query a single layer.&lt;STRONG&gt; &lt;/STRONG&gt;Can anyone of you suggest a sample or a widget that I could use? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sonia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 22:13:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165063#M4629</guid>
      <dc:creator>soniamonga</dc:creator>
      <dc:date>2016-04-13T22:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165064#M4630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;Sonia,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;&amp;nbsp; Sounds like you want the identify widget then.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 03:30:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165064#M4630</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-14T03:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165065#M4631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert, sorry I should have elaborated my question. So the scenario is to select a unique value from a layer first. Based on the value selected from the second drop down it would populate the results tab with the underlying layers. The task is a combination of By Value &amp;amp; By Shape. I am not sure what would be the best method to approach this task.&lt;/P&gt;&lt;P&gt;Appreciate your help on this!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/194752_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 04:28:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165065#M4631</guid>
      <dc:creator>soniamonga</dc:creator>
      <dc:date>2016-04-14T04:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165066#M4632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sonia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So you are wanting to search by a value (which means that you are searching based on the value of a field) and then click on the map (by shape) and have it search all layers in the map (&lt;STRONG&gt;meaning that all the layers in the map would have that exact field to be searched by&lt;/STRONG&gt;)?... This is not something that has been developed. The eSearch uses the JS API's QueryTask which is for a single layer of a map service. The FindTask can search multiple layers but not by geometry only by attribute. So what you are asking for is more like an IdentifyTask but you want to limit results by attribute. Like I said this has not been developed and I have never had the need to look into this so I don't have any code for it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 13:23:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165066#M4632</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-14T13:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165067#M4633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert, I wrote some code that does gives me the desired output (county and City fields) However I cannot get the results to show up in a results tab. I am using the showresults function but it doesn't seem to work. Could you please take a look and see what I am doing wrong? I have attached the zip file for your reference.&amp;nbsp; Would really appreciate your help on this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;showresults: function&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; (results) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; resultItems = [];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; resultCount = features.length;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;for&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; i = 0; i &amp;lt; resultCount; i++) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; featureAttributes = features&lt;I&gt;.attributes;&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;for&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; attr &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;in&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; featureAttributes) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;"&amp;lt;b&amp;gt;"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; + attr + &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;":&amp;lt;/b&amp;gt;&amp;nbsp; "&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt; + featureAttributes[attr] + &lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;"&amp;lt;br&amp;gt;"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;"&amp;lt;br&amp;gt;"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: Consolas;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;.info.innerHTML = resultItems.join(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;""&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 05:10:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165067#M4633</guid>
      <dc:creator>soniamonga</dc:creator>
      <dc:date>2016-04-21T05:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165068#M4634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sonia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The returned var for your function is "results" yet you never use it in your code you start using "features" but there is nothing in your code to define what features is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 12:41:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165068#M4634</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-21T12:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165069#M4635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert! Getting closer..I do see the featureattributes part working, but I don't see anything being pushed out. The console shows that this.info is undefined even though I have it in widget.html&lt;/P&gt;&lt;DIV data-dojo-attach-point="info" style="padding:5px; margin:5px; background-color:#eee;"&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;Please advise...&lt;BR /&gt;var field1 = this.uniqueValuesSelect.get('value');&lt;BR /&gt;var queryField1 = this.mySelect.get('value');&lt;BR /&gt;var query1 = new Query();&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;query1.where = queryField1 +"='" + field1 + "'";&lt;BR /&gt;query1.returnGeometry = true;&lt;BR /&gt;query1.outFields = "SORT_TEXT","City", "County"];&lt;BR /&gt;&lt;BR /&gt;featureLayer1.selectFeatures(query1, FeatureLayer.SELECTION_ADD, function(features) {&lt;BR /&gt;featureLayer1.setSelectionSymbol(lineSymbol);&lt;BR /&gt;var resultItems = [];&lt;BR /&gt;var resultCount = features.length;&lt;BR /&gt;for (var i = 0; i &amp;lt; resultCount; i++) {&lt;BR /&gt;featureAttributes = features&lt;I&gt;.attributes;&lt;BR /&gt;(var attr in featureAttributes) {&lt;BR /&gt;resultItems.push("&lt;B&gt;&lt;/B&gt;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;" + attr + ":&lt;/P&gt; " + featureAttributes[attr] + "&lt;BR /&gt;");&lt;BR /&gt;}&lt;BR /&gt;resultItems.push("&lt;BR /&gt;");&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this.info.innerHTML = resultItems.join("");&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 16:08:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165069#M4635</guid>
      <dc:creator>soniamonga</dc:creator>
      <dc:date>2016-04-21T16:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165070#M4636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sonia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The issue is that the "this.info.innerHTML = resultItems.join("");" is inside a function that has a different scope then you want, so "this" does not know what "info" is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use lang.hitch&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14612562583806143 jive_text_macro" data-renderedposition="138_8_1155_16" jivemacro_uid="_14612562583806143"&gt;&lt;P&gt;featureLayer1.selectFeatures(query1, FeatureLayer.SELECTION_ADD, lang.hitch(this, function(features) {&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 16:31:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165070#M4636</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-21T16:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165071#M4637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That works....Thanks so much Robert! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 03:48:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165071#M4637</guid>
      <dc:creator>soniamonga</dc:creator>
      <dc:date>2016-04-22T03:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165072#M4638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;I am having a couple of issues with the code. I am trying to specify the outFields: [&lt;SPAN style="color: #a31515; font-size: 10pt; font-family: Consolas;"&gt;"OBJECTID, SORT_TEXT, COUNTY, CITY"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;] but it doesn't work. It works if I put ["*"]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Consolas;"&gt;The other issue is it's caching the featurelayer, and not removing the selected features if I use the Reset function. I tried using the &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;disableClientCaching : true. Any ideas on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 04:27:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165072#M4638</guid>
      <dc:creator>soniamonga</dc:creator>
      <dc:date>2016-04-22T04:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165073#M4639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sonia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Can I see your current code where you define the feature layer and its out fields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 10:45:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165073#M4639</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-22T10:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165074#M4640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert, I have attached the code for your reference. Thanks again for all your help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 12:47:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165074#M4640</guid>
      <dc:creator>soniamonga</dc:creator>
      <dc:date>2016-04-22T12:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165075#M4641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sonia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You have to use the proper case for your field names JS is a case sensitive language.&lt;/P&gt;&lt;P&gt;query.outFields = ["SORT_TEXT","CITY", "COUNTY"];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 12:58:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165075#M4641</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-22T12:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165076#M4642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. let me try that. Any idea on the refresh part? When I select a new county from the drop down it doesn’t remove/refresh the  previous selection. I might have removed the reset function from the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 13:05:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165076#M4642</guid>
      <dc:creator>soniamonga</dc:creator>
      <dc:date>2016-04-22T13:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165077#M4643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sonia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using FeatureLayer.clearSelection()?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 13:20:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165077#M4643</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-22T13:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165078#M4644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. I have tried that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 13:21:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165078#M4644</guid>
      <dc:creator>soniamonga</dc:creator>
      <dc:date>2016-04-22T13:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165079#M4645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sonia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Not sure what to tell you then as &lt;/P&gt;&lt;P&gt;featureLayer1.clearSelection(); should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Apr 2016 14:05:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165079#M4645</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-04-22T14:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165080#M4646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert, I have struggled over the weekend on this.. The  featureLayer1.clearSelection() does work but looks like I am not passing it at the correct location. Would you please take a stab at the code and see which function and how I should be using it?&lt;/P&gt;&lt;P&gt;Thanks so much…..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2016 04:00:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165080#M4646</guid>
      <dc:creator>soniamonga</dc:creator>
      <dc:date>2016-04-25T04:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165081#M4647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sonia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you want a var available in any function in the widget you define it this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;return declare([BaseWidget, _WidgetsInTemplateMixin], {

&amp;nbsp;&amp;nbsp;&amp;nbsp; // DemoWidget code goes here 
&amp;nbsp;&amp;nbsp;&amp;nbsp; baseClass: 'jimu-widget-demo',
&amp;nbsp;&amp;nbsp;&amp;nbsp; zipcodes1: null,

&amp;nbsp;&amp;nbsp;&amp;nbsp; startup: function() {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.inherited(arguments);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log('startup');
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //var zipcodes1;
&amp;nbsp;&amp;nbsp;&amp;nbsp; },

&amp;nbsp;&amp;nbsp;&amp;nbsp; _onchgclearfeatures: function() {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert("clear");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.zipcodes1.clearSelection();
&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:37:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165081#M4647</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T08:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Extend Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165082#M4648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much Robert for all your help so far!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 17:07:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/extend-enhanced-search-widget/m-p/165082#M4648</guid>
      <dc:creator>soniamonga</dc:creator>
      <dc:date>2016-04-27T17:07:43Z</dc:date>
    </item>
  </channel>
</rss>

